refactor(测试跟踪): 测试计划用例下一条显示优化
--bug=1010470 --user=陈建星 测试计划-功能用例执行用例时,到达每页指定条数后,点击下一条,条数显示错误 https://www.tapd.cn/55049933/s/1107285
This commit is contained in:
parent
75b4f95187
commit
fc3d154569
|
@ -20,7 +20,7 @@
|
||||||
name: "MsPreviousNextButton",
|
name: "MsPreviousNextButton",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
countNum: 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
|
@ -61,9 +61,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
watch: {
|
||||||
countNum() {
|
index() {
|
||||||
return this.pageSize * (this.pageNum - 1) + this.index + 1;
|
this.countNum = this.pageSize * (this.pageNum - 1) + this.index + 1;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue