From 24b64ccadacdfbd03f9675f1754ce401d6646d30 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Mon, 20 Feb 2023 19:32:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=94=A8=E4=BE=8B=E5=BA=93):=20=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E7=94=A8=E4=BE=8B=E7=BC=96=E8=BE=91=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E4=B8=8B=E4=B8=80=E6=9D=A1=E7=94=A8=E4=BE=8B=EF=BC=8C=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1023389 --user=陈建星 【测试跟踪】功能用例-公共用例库-查看用例点击下一条关闭查看页面-再次点击查看-用例数据显示为空 https://www.tapd.cn/55049933/s/1338981 --- .../business/case/components/public/PublicTestCaseShow.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test-track/frontend/src/business/case/components/public/PublicTestCaseShow.vue b/test-track/frontend/src/business/case/components/public/PublicTestCaseShow.vue index 4f3f136868..32b3420266 100644 --- a/test-track/frontend/src/business/case/components/public/PublicTestCaseShow.vue +++ b/test-track/frontend/src/business/case/components/public/PublicTestCaseShow.vue @@ -64,6 +64,13 @@ export default { return false; } }, + watch: { + publicCaseId() { + if (this.publicCaseId) { + this.$refs.testCaseEdit.loadTestCase(); + } + } + }, methods: { open(caseId) { this.visible = true;