fix(接口测试): 接口测试,首页的接口定时任务点击跳转报错

This commit is contained in:
wenyann 2021-05-24 15:07:25 +08:00 committed by 刘瑞斌
parent 7c3b13dab4
commit dd79c1f3e2
1 changed files with 4 additions and 1 deletions

View File

@ -167,7 +167,10 @@
this.$refs.nodeTree.list(); this.$refs.nodeTree.list();
} }
let row = data.listObject[0]; let row = data.listObject[0];
row.tags = JSON.parse(row.tags); if (row.tags.length > 0) {
row.tags = JSON.parse(row.tags);
}
this.editScenario(row); this.editScenario(row);
} }
}); });