refactor(测试跟踪): 测试计划用例下一条显示优化

--bug=1010470 --user=陈建星 测试计划-功能用例执行用例时,到达每页指定条数后,点击下一条,条数显示错误 https://www.tapd.cn/55049933/s/1107285
This commit is contained in:
chenjianxing 2022-02-22 11:49:48 +08:00 committed by 刘瑞斌
parent 591c055162
commit 69b57856cc
1 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@
name: "MsPreviousNextButton",
data() {
return {
countNum: 1
}
},
props: {
@ -61,9 +61,9 @@
}
}
},
computed: {
countNum() {
return this.pageSize * (this.pageNum - 1) + this.index + 1;
watch: {
index() {
this.countNum = this.pageSize * (this.pageNum - 1) + this.index + 1;
}
},
methods: {