From cf5e825602f461bf4fa327a8580c6532083cc6e5 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Mon, 6 Jun 2022 11:11:55 +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=E5=88=9B=E5=BB=BA=E6=8E=A5=E5=8F=A3=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=8C=96=E5=9C=BA=E6=99=AF=E5=90=8E=EF=BC=8C=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E7=82=B9=E5=87=BB=E5=85=B3=E9=97=AD=E6=8C=89=E9=92=AE?= =?UTF-8?q?=EF=BC=8C=E4=B8=BA=E7=A9=BA=E6=8F=90=E7=A4=BAundefined=E7=9A=84?= =?UTF-8?q?=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1013742 --user=王孝刚 【接口测试】创建接口自动化场景后,直接点击关闭按钮,为空提示undefined https://www.tapd.cn/55049933/s/1173496 --- .../src/business/components/api/automation/ApiAutomation.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/business/components/api/automation/ApiAutomation.vue b/frontend/src/business/components/api/automation/ApiAutomation.vue index 02ae9190ef..f2ebd6c326 100644 --- a/frontend/src/business/components/api/automation/ApiAutomation.vue +++ b/frontend/src/business/components/api/automation/ApiAutomation.vue @@ -508,7 +508,7 @@ export default { if (tab.name === targetName) { this.diff(tab); if (tab && this.isSave) { - message += tab.currentScenario.name + ","; + message += tab.currentScenario.name ? tab.currentScenario.name : this.$t('api_test.automation.add_scenario') + ","; } } })