Browse Source

修正空白

lipengtao 6 years ago
parent
commit
ded83ef32a
2 changed files with 6 additions and 0 deletions
  1. 3 0
      src/views/cooperationAgency/index.vue
  2. 3 0
      src/views/specialExperts/index.vue

+ 3 - 0
src/views/cooperationAgency/index.vue

@ -121,6 +121,9 @@
121 121
      current(val) { // 点击页码
122 122
        if (val <= Math.ceil(this.total / 20)) {
123 123
          this.tableData = this.dataList.slice(20 * (val - 1), 20 * val)
124
          if (val === Math.ceil(this.total / 20)) {
125
            ret.gapFilling(this.tableData)
126
          }
124 127
        } else {
125 128
          const array = this.dataList.slice(20 * val)
126 129
          ret.gapFilling(array)

+ 3 - 0
src/views/specialExperts/index.vue

@ -136,6 +136,9 @@
136 136
      current(val) { // 点击页码
137 137
        if (val <= Math.ceil(this.total / 20)) {
138 138
          this.tableData = this.dataList.slice(20 * (val - 1), 20 * val)
139
          if (val === Math.ceil(this.total / 20)) {
140
            ret.gapFilling(this.tableData)
141
          }
139 142
        } else {
140 143
          const array = this.dataList.slice(20 * val)
141 144
          ret.gapFilling(array)