From 6bacbbaee50d3102784e8f6bb927acf51e6c1eeb Mon Sep 17 00:00:00 2001 From: limin-fit2 Date: Mon, 21 Feb 2022 11:04:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B):?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E7=BC=96=E8=BE=91=E5=90=8E?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E6=AD=A5=E9=AA=A4=E6=9C=AA=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1010011 --user=李敏 【测试跟踪】github#9987,用例变更之后返回列表预览还是老的内容,列表没有及时刷新 https://www.tapd.cn/55049933/s/1106397 --- .../components/track/case/components/TestCaseList.vue | 8 -------- 1 file changed, 8 deletions(-) diff --git a/frontend/src/business/components/track/case/components/TestCaseList.vue b/frontend/src/business/components/track/case/components/TestCaseList.vue index 3948286ae1..828899a26c 100644 --- a/frontend/src/business/components/track/case/components/TestCaseList.vue +++ b/frontend/src/business/components/track/case/components/TestCaseList.vue @@ -850,14 +850,6 @@ export default { getCase(id) { this.$refs.testCasePreview.open(); this.rowCaseResult.loading = true; - if (this.rowCase && this.rowCase.id === id) { - this.$refs.testCasePreview.setData(this.rowCase); - this.rowCaseResult.loading = false; - return; - } else { - this.rowCase = {}; - this.$refs.testCasePreview.setData({}); - } this.rowCaseResult = this.$get('test/case/get/step/' + id, response => { this.rowCase = response.data;