From a0eca7b1684f757eb7381c6d1f7042c95ae930a2 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期二, 31 十二月 2024 10:37:40 +0800
Subject: [PATCH] 1.批量任务-批量发送详情使用选项卡的方式打开

---
 pages/goods/category-list.vue |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/pages/goods/category-list.vue b/pages/goods/category-list.vue
index ded0004..dc51929 100644
--- a/pages/goods/category-list.vue
+++ b/pages/goods/category-list.vue
@@ -36,6 +36,7 @@
           )
           return list.map((i) => ({
             ...i,
+            childrenCount: Array.isArray(i.children) ? i.children.length : 0,
             children: this.expandIds.includes(i.id)
               ? i.children
               : i.children.slice(0, 1),
@@ -82,6 +83,7 @@
             ),
           },
           { label: '排序', prop: 'sortBy' },
+          { label: '品种数量', formatter: (row) => row.childrenCount },
           {
             label: '是否显示',
             formatter: (row) => (

--
Gitblit v1.9.3