style:字典
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -185,6 +185,9 @@ export default { | ... | @@ -185,6 +185,9 @@ export default { |
185 | this.$endLoading(); | 185 | this.$endLoading(); |
186 | let { result } = res | 186 | let { result } = res |
187 | this.tableData = result ? result : [] | 187 | this.tableData = result ? result : [] |
188 | this.tableData.forEach((item, index) => { | ||
189 | item.index = index + 1 | ||
190 | }) | ||
188 | }) | 191 | }) |
189 | }, | 192 | }, |
190 | immediate: true | 193 | immediate: true | ... | ... |
-
Please register or sign in to post a comment