From b0e7151f7d5fb88dcd79693a621bebbd19050309 Mon Sep 17 00:00:00 2001
From: wxg0103 <727495428@qq.com>
Date: Mon, 18 Apr 2022 15:37:38 +0800
Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?=
=?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BF=9B=E5=85=A5case=E8=AF=A6=E6=83=85?=
=?UTF-8?q?=EF=BC=8C=E7=82=B9=E5=87=BB=E6=89=A7=E8=A1=8C=EF=BC=8C=E7=84=B6?=
=?UTF-8?q?=E5=90=8E=E5=9C=A8=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3=EF=BC=8C?=
=?UTF-8?q?=E7=B4=A7=E6=8E=A5=E7=9D=80=E7=82=B9=E5=87=BB=E4=BF=9D=E5=AD=98?=
=?UTF-8?q?=EF=BC=8C=E7=B3=BB=E7=BB=9F=E6=B2=A1=E6=9C=89=E4=BB=BB=E4=BD=95?=
=?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF=E7=9A=84=E7=BC=BA=E9=99=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
--bug=1012164 --user=王孝刚
[接口测试]github#12573【接口测试>>case】:进入case详情,点击执行,然后在修改接口,紧接着点击保存,系统没有任何提示信息
https://www.tapd.cn/55049933/s/1138291
---
.../automation/schedule/ScheduleMaintain.vue | 10 +--
.../components/case/ApiCaseItem.vue | 70 ++++++++++++-------
2 files changed, 48 insertions(+), 32 deletions(-)
diff --git a/frontend/src/business/components/api/automation/schedule/ScheduleMaintain.vue b/frontend/src/business/components/api/automation/schedule/ScheduleMaintain.vue
index 07ddf73dc9..e5af60202e 100644
--- a/frontend/src/business/components/api/automation/schedule/ScheduleMaintain.vue
+++ b/frontend/src/business/components/api/automation/schedule/ScheduleMaintain.vue
@@ -325,16 +325,12 @@ export default {
if (response.data != null) {
this.schedule = response.data;
if (response.data.config) {
- let data = JSON.parse(response.data.config);
- this.runConfig.environmentGroupId = data.environmentGroupId;
- this.runConfig.environmentType = data.environmentType;
- if (data.envMap) {
- this.projectEnvListMap = objToStrMap(data.envMap);
+ this.runConfig = JSON.parse(response.data.config);
+ if (this.runConfig.envMap) {
+ this.projectEnvListMap = objToStrMap(this.runConfig.envMap);
} else {
this.projectEnvListMap = new Map;
}
- this.runConfig.runWithinResourcePool = data.runWithinResourcePool;
- this.runConfig.resourcePoolId = data.resourcePoolId;
}
} else {
this.schedule = {
diff --git a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue
index 13b3b70a8d..2684fdaf42 100644
--- a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue
+++ b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue
@@ -17,7 +17,8 @@
-