From a1b37a3c5375d149bb6638bd33862b53bd8b8b41 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Tue, 24 Nov 2020 10:50:03 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E6=AF=8F=E9=A1=B5=E6=98=BE=E7=A4=BA=E9=80=9F?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/java/io/metersphere/xpack | 2 +- .../components/track/case/components/TestCaseList.vue | 7 +++++++ frontend/src/business/components/xpack | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/backend/src/main/java/io/metersphere/xpack b/backend/src/main/java/io/metersphere/xpack index 57d6f78efa..419c75bca6 160000 --- a/backend/src/main/java/io/metersphere/xpack +++ b/backend/src/main/java/io/metersphere/xpack @@ -1 +1 @@ -Subproject commit 57d6f78efa4b0300be188e8b024511ceef0873ed +Subproject commit 419c75bca64b7c5bfbd1194d7f0fd9919f0caa04 diff --git a/frontend/src/business/components/track/case/components/TestCaseList.vue b/frontend/src/business/components/track/case/components/TestCaseList.vue index c2fc825b9c..2475415a15 100644 --- a/frontend/src/business/components/track/case/components/TestCaseList.vue +++ b/frontend/src/business/components/track/case/components/TestCaseList.vue @@ -300,6 +300,9 @@ export default { // param.nodeIds = this.selectNodeIds; this.condition.nodeIds = this.selectNodeIds; } + this.getData(); + }, + getData() { if (this.currentProject) { this.condition.projectId = this.currentProject.id; this.result = this.$post(this.buildPagePath('/test/case/list'), this.condition, response => { @@ -374,6 +377,10 @@ export default { this.selectRows.clear(); this.$emit('refresh'); }, + showAll() { + this.condition = {components: TEST_CASE_CONFIGS}; + this.getData(); + }, showDetail(row, event, column) { this.$emit('testCaseDetail', row); }, diff --git a/frontend/src/business/components/xpack b/frontend/src/business/components/xpack index 71d57ae5d7..33bbdb3f52 160000 --- a/frontend/src/business/components/xpack +++ b/frontend/src/business/components/xpack @@ -1 +1 @@ -Subproject commit 71d57ae5d7f8bb5c93a29504ac6f2300dc189ce9 +Subproject commit 33bbdb3f528c914bf333b2c1839dd6d3bbd9b569