fix(接口测试): 修复在tcp接口编辑页面切换到sql的接口,页面会变空白的缺陷
--bug=1010460 --user=王孝刚 【接口测试】在tcp接口编辑页面切换到sql的接口,页面会变空白 https://www.tapd.cn/55049933/s/1107191
This commit is contained in:
parent
3c06bbff0e
commit
c15128a303
|
@ -564,7 +564,7 @@ export default {
|
|||
let tab = this.apiTabs;
|
||||
delete tab[0];
|
||||
tab.forEach(t => {
|
||||
if (t.api && this.$store.state.apiMap.has(t.api.id) && (this.$store.state.apiMap.get(t.api.id).get("responseChange") === true || this.$store.state.apiMap.get(t.api.id).get("requestChange") === true ||
|
||||
if (t.type === 'ADD' && t.api && this.$store.state.apiMap.has(t.api.id) && (this.$store.state.apiMap.get(t.api.id).get("responseChange") === true || this.$store.state.apiMap.get(t.api.id).get("requestChange") === true ||
|
||||
this.$store.state.apiMap.get(t.api.id).get("fromChange") === true)) {
|
||||
message += t.api.name + ",";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue