diff --git a/src/views/commodity/commdityClass/index.vue b/src/views/commodity/commdityClass/index.vue index 1ba5e21..bd56ffd 100644 --- a/src/views/commodity/commdityClass/index.vue +++ b/src/views/commodity/commdityClass/index.vue @@ -7,14 +7,26 @@ :data="tableData" style="width: 100%" border - row-key="id" + row-key="classifyId" :header-cell-style="{ background: '#EEF3FF', color: '#333333' }" - :tree-props="{ children: 'childs' }" + :tree-props="{ children: 'childs', hasChildren: 'hasChildren' }" > + + + -