fix: 测试计划调整时,名称显示错误

This commit is contained in:
chenjianxing 2020-12-22 22:51:18 +08:00
parent 18afa7a13a
commit 1fee4b682c
1 changed files with 5 additions and 0 deletions

View File

@ -56,6 +56,11 @@
return this.$route.params.planId; return this.$route.params.planId;
} }
}, },
watch: {
'$route.params.planId'() {
this.getTestPlans();
}
},
mounted() { mounted() {
this.getTestPlans(); this.getTestPlans();
}, },