修改管理端地区页面bug
parent
43b4c041e4
commit
e32e2a92cd
|
@ -303,7 +303,7 @@ export default {
|
||||||
content: "更新后店铺以及用户地区绑定数据将全部错乱",
|
content: "更新后店铺以及用户地区绑定数据将全部错乱",
|
||||||
onOk: () => {
|
onOk: () => {
|
||||||
let timer;
|
let timer;
|
||||||
let numer;
|
let number;
|
||||||
|
|
||||||
this.asyncLoading = true
|
this.asyncLoading = true
|
||||||
|
|
||||||
|
@ -319,7 +319,8 @@ export default {
|
||||||
click: () => {
|
click: () => {
|
||||||
this.$Message.destroy();
|
this.$Message.destroy();
|
||||||
this.asyncLoading = false
|
this.asyncLoading = false
|
||||||
clearInterval(timer, numer);
|
clearInterval(number);
|
||||||
|
clearTimeout(timer)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -329,11 +330,12 @@ export default {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
numer = setInterval(() => {
|
number = setInterval(() => {
|
||||||
this.num--;
|
this.num--;
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
||||||
timer = setTimeout(() => {
|
timer = setTimeout(() => {
|
||||||
|
clearInterval(number)
|
||||||
asyncRegion().then((res) => {
|
asyncRegion().then((res) => {
|
||||||
this.asyncLoading = false
|
this.asyncLoading = false
|
||||||
this.$Message.loading("地区数据正在更新中!");
|
this.$Message.loading("地区数据正在更新中!");
|
||||||
|
|
Loading…
Reference in New Issue