fix(接口测试): 修复接口测试创建新版本出现loading无法关闭的问题
--bug=1012738 --user=刘瑞斌 【接口测试】-创建接口-版本-新建-一直转圈-无法操作 https://www.tapd.cn/55049933/s/1147594
This commit is contained in:
parent
2e3705f6af
commit
604d845ab8
|
@ -190,6 +190,10 @@ export default {
|
|||
this.$emit('saveApi', this.basisData);
|
||||
this.$store.state.apiStatus.set("fromChange", false);
|
||||
this.$store.state.apiMap.set(this.basisData.id, this.$store.state.apiStatus);
|
||||
} else {
|
||||
if (this.$refs.versionHistory) {
|
||||
this.$refs.versionHistory.loading = false;
|
||||
}
|
||||
}
|
||||
},
|
||||
runTest() {
|
||||
|
|
|
@ -470,6 +470,9 @@ export default {
|
|||
this.$store.state.apiStatus.set("fromChange", false);
|
||||
this.$store.state.apiMap.set(this.httpForm.id, this.$store.state.apiStatus);
|
||||
} else {
|
||||
if (this.$refs.versionHistory) {
|
||||
this.$refs.versionHistory.loading = false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -192,6 +192,10 @@ export default {
|
|||
this.$emit('saveApi', this.basisData);
|
||||
this.$store.state.apiStatus.set("fromChange", false);
|
||||
this.$store.state.apiMap.set(this.basisData.id, this.$store.state.apiStatus);
|
||||
} else {
|
||||
if (this.$refs.versionHistory) {
|
||||
this.$refs.versionHistory.loading = false;
|
||||
}
|
||||
}
|
||||
},
|
||||
runTest() {
|
||||
|
|
|
@ -278,6 +278,10 @@ export default {
|
|||
this.$emit('saveApi', this.basisData);
|
||||
this.$store.state.apiStatus.set("fromChange", false);
|
||||
this.$store.state.apiMap.set(this.basisData.id, this.$store.state.apiStatus);
|
||||
} else {
|
||||
if (this.$refs.versionHistory) {
|
||||
this.$refs.versionHistory.loading = false;
|
||||
}
|
||||
}
|
||||
},
|
||||
runTest() {
|
||||
|
|
Loading…
Reference in New Issue