From cb0a19e774f8e9bf605f9ee4d5c655432690d471 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Fri, 10 Jun 2022 11:45:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=89=88=E6=9C=AC=E5=AF=B9=E6=AF=94):=20?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=9C=BA=E6=99=AF=E6=9B=B4=E6=96=B0=E5=90=8E?= =?UTF-8?q?=E5=86=8D=E6=AC=A1=E5=AF=B9=E6=AF=94=E6=8A=A5=E9=94=99=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --user=郭雨琦 --bug=1013961 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001013961 --- .../components/api/automation/scenario/EditApiScenario.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index bfc80dc3cc..63100492af 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -1594,7 +1594,9 @@ export default { this.$store.state.pluginFiles = []; if (response.data) { this.currentScenario.id = response.data.id; - this.currentScenario.refId = response.data.refId; + if (!this.currentScenario.refId && response.data.refId) { + this.currentScenario.refId = response.data.refId; + } } // 保存成功后刷新历史版本 this.getVersionHistory();