Kaynağa Gözat

fix(bugs): 分页设置

tangning 3 yıl önce
ebeveyn
işleme
ab2cc566e9

+ 1 - 1
src/settings/componentSetting.ts

@@ -18,7 +18,7 @@ export default {
       totalField: 'totalCount',
     },
     // Number of pages that can be selected
-    pageSizeOptions: ['10', '50', '80', '100'],
+    pageSizeOptions: ['10', '20', '50', '80', '100'],
     // Default display quantity on one page
     defaultPageSize: 20,
     // Default Size

+ 5 - 0
src/views/advertisement/pads.vue

@@ -71,6 +71,11 @@
           width: 230,
         },
         {
+          title: '链接',
+          dataIndex: 'liveRoomUrl',
+          width: 260,
+        },
+        {
           title: '编辑时间',
           dataIndex: 'createTime',
           width: 150,

+ 2 - 2
src/views/product/category.vue

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