fix(接口测试): 修复场景多个tab时显示名称错误的缺陷
--bug=1032249 --user=王孝刚 【接口测试】打开多个tab页签-保存场景时-场景名称显示非当前选中的场景 https://www.tapd.cn/55049933/s/1429164
This commit is contained in:
parent
713a4e1342
commit
d5ed574528
|
@ -734,7 +734,7 @@ export default {
|
|||
setTabTitle(data) {
|
||||
for (let index in this.tabs) {
|
||||
let tab = this.tabs[index];
|
||||
if (tab && tab.name === this.activeName) {
|
||||
if (tab && tab.currentScenario && tab.currentScenario.id === data.id) {
|
||||
tab.label = data.name;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue