Browse Source

专家及机构修正

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

+ 1 - 1
src/views/cooperationAgency/index.vue

@ -119,7 +119,7 @@
119 119
        this.$refs.sort.form = { ...obj }
120 120
      },
121 121
      current(val) { // 点击页码
122
        if (val < Math.ceil(this.total / 20)) {
122
        if (val <= Math.ceil(this.total / 20)) {
123 123
          this.tableData = this.dataList.slice(20 * (val - 1), 20 * val)
124 124
        } else {
125 125
          const array = this.dataList.slice(20 * val)

+ 1 - 1
src/views/specialExperts/index.vue

@ -134,7 +134,7 @@
134 134
        this.$refs.sort.form = { ...obj }
135 135
      },
136 136
      current(val) { // 点击页码
137
        if (val < Math.ceil(this.total / 20)) {
137
        if (val <= Math.ceil(this.total / 20)) {
138 138
          this.tableData = this.dataList.slice(20 * (val - 1), 20 * val)
139 139
        } else {
140 140
          const array = this.dataList.slice(20 * val)