Browse Source

分页最大条数

jbb 2 years ago
parent
commit
65f07f5bf0
2 changed files with 7 additions and 0 deletions
  1. 3 0
      src/views/system/UserList.vue
  2. 4 0
      src/views/system/modules/AddressListRight.vue

+ 3 - 0
src/views/system/UserList.vue

@@ -219,6 +219,9 @@
         userVisible: false,
         sheBao: '',
         gongJiJin: '',
+        ipagination:{
+          pageSizeOptions: ["10", "20", "30", "300"]
+        },
         columns: [
           /*{
             title: '#',

+ 4 - 0
src/views/system/modules/AddressListRight.vue

@@ -63,6 +63,9 @@
         description: '用户信息',
         cardLoading: true,
         positionInfo: {},
+        ipagination:{
+          pageSizeOptions: ["10", "20", "30", "300"]
+        },
         columns: [
           // {
           //   title: '#',
@@ -168,6 +171,7 @@
                 if (res.success) {
                     this.dataSource = res.result.records
                     this.ipagination.total = res.result.total
+                    debugger
                 }
             }).finally(() => {
                 this.loading = false