pages/goods/category-list.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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) => (