修改管理端地区页面bug

master
mabo 2021-06-03 18:06:28 +08:00
parent 43b4c041e4
commit e32e2a92cd
1 changed files with 5 additions and 3 deletions

View File

@ -303,7 +303,7 @@ export default {
content: "更新后店铺以及用户地区绑定数据将全部错乱",
onOk: () => {
let timer;
let numer;
let number;
this.asyncLoading = true
@ -319,7 +319,8 @@ export default {
click: () => {
this.$Message.destroy();
this.asyncLoading = false
clearInterval(timer, numer);
clearInterval(number);
clearTimeout(timer)
},
},
},
@ -329,11 +330,12 @@ export default {
},
});
numer = setInterval(() => {
number = setInterval(() => {
this.num--;
}, 1000);
timer = setTimeout(() => {
clearInterval(number)
asyncRegion().then((res) => {
this.asyncLoading = false
this.$Message.loading("地区数据正在更新中!");