fix(接口测试): 修复创建接口自动化场景后,直接点击关闭按钮,为空提示undefined的缺陷
--bug=1013742 --user=王孝刚 【接口测试】创建接口自动化场景后,直接点击关闭按钮,为空提示undefined https://www.tapd.cn/55049933/s/1173496
This commit is contained in:
parent
2dd94a3e96
commit
b504f74593
|
@ -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') + ",";
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue