diff --git a/jjj_erp_admin/src/components/category/category.vue b/jjj_erp_admin/src/components/category/category.vue index c255e63..4f0ebe9 100644 --- a/jjj_erp_admin/src/components/category/category.vue +++ b/jjj_erp_admin/src/components/category/category.vue @@ -23,7 +23,8 @@ style="max-width: 600px" :data="data" :props="defaultProps" - default-expand-all + node-key="categoryId" + :default-expanded-keys="[0]" @node-click="handleNodeClick" >