fix(接口测试): 修复接口版本删除,点击取消,版本页面一直转圈的缺陷

--bug=1028228 --user=王孝刚
【接口测试】接口场景-存在多个版本-点击删除某个版本,不点确定直接关闭-再点击版本-一直转圈加载中
https://www.tapd.cn/55049933/s/1399468
This commit is contained in:
wxg0103 2023-07-31 17:28:24 +08:00 committed by 刘瑞斌
parent 1ed447e5c1
commit 5db8bdef8c
1 changed files with 3 additions and 0 deletions

View File

@ -160,6 +160,7 @@ export default {
checkout(row) { checkout(row) {
this.loading = true; this.loading = true;
this.$emit('checkout', row); this.$emit('checkout', row);
this.loading = false;
}, },
create(row) { create(row) {
this.loading = true; this.loading = true;
@ -168,10 +169,12 @@ export default {
del(row) { del(row) {
this.loading = true; this.loading = true;
this.$emit('del', row); this.$emit('del', row);
this.loading = false;
}, },
setLatest(row) { setLatest(row) {
this.loading = true; this.loading = true;
this.$emit('setLatest', row); this.$emit('setLatest', row);
this.loading = false;
}, },
handleVersionOptions() { handleVersionOptions() {
let versionData = this.versionData; let versionData = this.versionData;