fix(测试跟踪): 修复测试计划切换模块时分页未重置的问题

This commit is contained in:
shiziyuan9527 2020-11-18 14:55:01 +08:00
parent 6d609eb990
commit 7d1f976905
1 changed files with 3 additions and 0 deletions

View File

@ -106,6 +106,9 @@
nodeChange(nodeIds, pNodes) { nodeChange(nodeIds, pNodes) {
this.selectNodeIds = nodeIds; this.selectNodeIds = nodeIds;
this.selectParentNodes = pNodes; this.selectParentNodes = pNodes;
// node
this.$refs.testPlanTestCaseList.currentPage = 1;
this.$refs.testPlanTestCaseList.pageSize = 10;
}, },
changePlan(plan) { changePlan(plan) {
this.currentPlan = plan; this.currentPlan = plan;