浏览代码

分页修改

chuwu 5 年之前
父节点
当前提交
557191fc0d
共有 2 个文件被更改,包括 6 次插入5 次删除
  1. 4 3
      src/views/point/config_point/steps/step1.vue
  2. 2 2
      src/views/point/config_point/steps/step2.vue

+ 4 - 3
src/views/point/config_point/steps/step1.vue

@@ -77,8 +77,8 @@
                 renderData: {},
                 allData: [],
                 pages: {
-                    size: 10,
-                    sizes: [10, 30, 50, 100],
+                    size: 50,
+                    sizes: [10, 30, 50, 100, 150, 200],
                     total: 0,
                     currentPage: 0
                 },
@@ -268,7 +268,8 @@
                 if (!!this.allData.length) {
                     let data = this.hot.getSourceData()
                     data.unshift({
-                        Used: true
+                        Used: true,
+                        LocationFlag: []
                     })
                     this.hot.loadData(data)
                     this.hot.updateSettings({

+ 2 - 2
src/views/point/config_point/steps/step2.vue

@@ -69,8 +69,8 @@
                 examineDialog: false,
                 changeFlag: true,
                 pages: {
-                    size: 10,
-                    sizes: [10, 30, 50, 100],
+                    size: 50,
+                    sizes: [10, 30, 50, 100, 150, 200],
                     total: 0,
                     currentPage: 0
                 },