fix(用例库): 功能用例编辑点击下一条用例,显示为空

--bug=1023389 --user=陈建星 【测试跟踪】功能用例-公共用例库-查看用例点击下一条关闭查看页面-再次点击查看-用例数据显示为空 https://www.tapd.cn/55049933/s/1338981
This commit is contained in:
chenjianxing 2023-02-20 19:32:13 +08:00 committed by jianxing
parent 5919148c27
commit 24b64ccada
1 changed files with 7 additions and 0 deletions

View File

@ -64,6 +64,13 @@ export default {
return false; return false;
} }
}, },
watch: {
publicCaseId() {
if (this.publicCaseId) {
this.$refs.testCaseEdit.loadTestCase();
}
}
},
methods: { methods: {
open(caseId) { open(caseId) {
this.visible = true; this.visible = true;