This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
weapp
/
C
Watch
8
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
66
Wiki
Activity
Browse Source
[未支付订单锁定后处理]
tags/C.10.02
海洋之声
5 years ago
parent
eae9976feb
commit
0738f1d175
1 changed files
with
10 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+10
-0
pages/order/detail/index.js
+ 10
- 0
pages/order/detail/index.js
View File
@@ -286,6 +286,16 @@ Page({
return;
},
});
}).catch(err=>{
wx.hideLoading();
that.setData({
showButton: false
})
wx.showModal({
title: "抱歉",
content: err.message,
showCancel: false
})
});
} else {
// 免费券
Write
Preview
Loading…
Cancel
Save