This commit is contained in:
2025-01-20 16:58:39 +08:00
parent 84eadc0c9b
commit 1426b6e516

View File

@@ -122,8 +122,15 @@ export default {
this.$refs.child.active = false
},
async __confirmPoint (code, type) {
this.loading = this.$loading({
lock: true,
text: this.$t('common.loading'),
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
})
try {
let res = await confirmPoint(code, type)
this.loading.close()
if (this.timer) {
clearInterval(this.timer)
}
@@ -133,6 +140,7 @@ export default {
}, 1000)
} catch (e) {
console.log(e)
this.loading.close()
}
},
toCancle () {