Commit 171b7fb5 by 李伟康

修改支付按钮加载

1 parent ec1536db
...@@ -175,11 +175,11 @@ export default { ...@@ -175,11 +175,11 @@ export default {
}, 1e3), }, 1e3),
pay (orderCode) { pay (orderCode) {
this.showLoading('结算中') this.showLoading('结算中')
this.payStatus = Date.now()
shopmallApi.payOrder({ shopmallApi.payOrder({
orderCode orderCode
}).then(({ code, data, message }) => { }).then(({ code, data, message }) => {
this.hideLoading() this.hideLoading()
this.payStatus = Date.now()
if (code == '0') { if (code == '0') {
this.showModal = false this.showModal = false
let { needPay, payParams } = data let { needPay, payParams } = data
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!