From 007697defccea0f34f18022aacb8294454062f5a Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Mon, 26 Jun 2023 11:26:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E8=B7=B3=E8=BD=AC=E5=8A=9F=E8=83=BD=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E5=90=8E=E5=88=87=E6=8D=A2=E5=85=A8=E9=83=A8=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E5=B7=A6=E4=BE=A7=E6=A0=91=E6=9C=AA=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1026884 --user=宋昌昌 【测试跟踪】首页-关联用例数量统计-已覆盖跳转链接页面左侧模块统计数和右侧不一致 https://www.tapd.cn/55049933/s/1385977 --- .../src/business/module/TestCaseNodeTree.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/test-track/frontend/src/business/module/TestCaseNodeTree.vue b/test-track/frontend/src/business/module/TestCaseNodeTree.vue index 68ce6fa13f..bdeed35f66 100644 --- a/test-track/frontend/src/business/module/TestCaseNodeTree.vue +++ b/test-track/frontend/src/business/module/TestCaseNodeTree.vue @@ -124,17 +124,20 @@ export default { 'condition.filterText'() { this.filter(); }, - caseCondition() { - this.$nextTick(() => { - this.list(); - }); + caseCondition: { + handler() { + this.$nextTick(() => { + this.list(); + }); + }, + deep: true, + immediate: true } }, mounted() { let store = useStore(); store.testCaseSelectNode = {}; store.testCaseSelectNodeIds = []; - this.list(); }, computed: { projectId() {