From fa53228f9770e3a2418ba5870e6cbba3cfdd49e8 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Mon, 11 Jan 2021 14:45:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=E4=BF=AE=E5=A4=8DSQL=E7=B1=BB=E5=9E=8B=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E6=97=A0=E6=B3=95=E5=88=87=E6=8D=A2=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../automation/scenario/EditApiScenario.vue | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index 6587cdbc44..f76c65e929 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -524,8 +524,7 @@ } this.sort(); this.reload(); - } - , + }, nodeClick(e) { if (e.referenced != 'REF' && e.referenced != 'Deleted') { this.operatingElements = ELEMENTS.get(e.type); @@ -533,8 +532,7 @@ this.operatingElements = []; } this.selectedTreeNode = e; - } - , + }, suggestClick(node) { this.response = {}; if (node.parent && node.parent.data.requestResult) { @@ -544,13 +542,11 @@ showAll() { this.operatingElements = ELEMENTS.get("ALL"); this.selectedTreeNode = undefined; - this.reload(); - } - , + //this.reload(); + }, apiListImport() { this.$refs.scenarioApiRelevance.open(); - } - , + }, recursiveSorting(arr) { for (let i in arr) { arr[i].index = Number(i) + 1; @@ -558,8 +554,7 @@ this.recursiveSorting(arr[i].hashTree); } } - } - , + }, sort() { for (let i in this.scenarioDefinition) { this.scenarioDefinition[i].index = Number(i) + 1; @@ -567,8 +562,7 @@ this.recursiveSorting(this.scenarioDefinition[i].hashTree); } } - } - , + }, addCustomizeApi(request) { this.customizeVisible = false; request.enable === undefined ? request.enable = true : request.enable; @@ -1034,5 +1028,6 @@ .ms-opt-btn { position: fixed; right: 50px; + z-index: 1; }