From e324b68f64f70a1b45e6e06481035540fad65269 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Tue, 1 Nov 2022 18:35:08 +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=E7=BC=96=E8=BE=91=E6=8E=A5=E5=8F=A3=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E6=A0=87=E7=AD=BE=E4=B8=8D=E6=8F=90=E7=A4=BA=E6=9C=AA?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=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=1019241 --user=王孝刚 【接口测试】接口定义-编辑修改接口定义的标签和描述不保存 ,关闭时未提示保存弹框 https://www.tapd.cn/55049933/s/1285664 --- .../business/definition/components/complete/ApiBaseInfo.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-test/frontend/src/business/definition/components/complete/ApiBaseInfo.vue b/api-test/frontend/src/business/definition/components/complete/ApiBaseInfo.vue index bd2df9036b..2bd3d5228a 100644 --- a/api-test/frontend/src/business/definition/components/complete/ApiBaseInfo.vue +++ b/api-test/frontend/src/business/definition/components/complete/ApiBaseInfo.vue @@ -172,14 +172,14 @@ export default { }, 'basicForm.description': { handler(v, v1) { - if (v && v1 && v !== v1) { + if (v && v !== v1) { this.apiMapStatus(); } } }, 'basicForm.tags': { handler(v, v1) { - if (v && v1 && JSON.stringify(v) !== JSON.stringify(v1) && v1.length !== 0) { + if (v && v1 && JSON.stringify(v) !== JSON.stringify(v1)) { this.apiMapStatus(); } }