【fix】 添加loading提示

This commit is contained in:
tian.guangyuan
2020-05-09 13:27:36 +08:00
parent 88622372a6
commit 6fb9265717

View File

@@ -261,9 +261,15 @@ export default {
localStorage.token = token
localStorage.orderNo = orderNo
this.isLoading = true
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
setTimeout(() => {
this.pay()
}, 1000)
}, 500)
}
// 再次支付 调详情 获取信息
this.getOrderDetail()