{
:max-height="490"
:columns="columns()"
:data="tableData"
+ :loading="loading"
:row-key="rowKey"
default-expand-all
/>
@@ -152,6 +140,5 @@ const update = (res: Api.Category.RowData[]) => {
/>
-
diff --git a/src/views/category/modules/category.vue b/src/views/category/modules/category.vue
index d7f2968..8c15d3b 100644
--- a/src/views/category/modules/category.vue
+++ b/src/views/category/modules/category.vue
@@ -1,12 +1,8 @@
diff --git a/src/views/category/modules/table.ts b/src/views/category/modules/table.ts
index 7cf7af2..1ffe282 100644
--- a/src/views/category/modules/table.ts
+++ b/src/views/category/modules/table.ts
@@ -1,12 +1,47 @@
-import { ref, Ref, Reactive } from 'vue';
-import { jsonClone } from '@sa/utils';
+import { ref, Ref } from 'vue';
import { useBoolean } from '@sa/hooks';
import { $t } from '@/locales';
+type CategoryApiFn