Explorar o código

feat(api): order interactive part3

gemercheung %!s(int64=3) %!d(string=hai) anos
pai
achega
9f1b4e7e0c
Modificáronse 2 ficheiros con 4 adicións e 4 borrados
  1. 2 2
      src/views/dashboard/product/ref.vue
  2. 2 2
      src/views/dashboard/staff/list.vue

+ 2 - 2
src/views/dashboard/product/ref.vue

@@ -2,8 +2,8 @@
   <BasicTable @register="registerTable">
     <template #toolbar>
       <a-button type="primary" @click="handleCreate"> 新增商品分类</a-button>
-      <a-button type="warning" @click="expandAll">展开全部</a-button>
-      <a-button type="error" @click="collapseAll">折叠全部</a-button>
+      <a-button primary color="warning" @click="expandAll">展开全部</a-button>
+      <a-button primary color="error" @click="collapseAll">折叠全部</a-button>
     </template>
     <template #action="{ record }">
       <TableAction

+ 2 - 2
src/views/dashboard/staff/list.vue

@@ -134,8 +134,8 @@
         pagination: { pageSize: 20 },
         bordered: true,
         fetchSetting: {
-          pageField: 'pageSize',
-          sizeField: 'pageNum',
+          pageField: 'pageNum',
+          sizeField: 'pageSize',
           listField: 'list',
           totalField: 'totalCount',
         },