This commit is contained in:
@@ -124,12 +124,6 @@ Page({
|
|||||||
// 页面关闭
|
// 页面关闭
|
||||||
},
|
},
|
||||||
getCoupon(e) {
|
getCoupon(e) {
|
||||||
if (!app.globalData.hasLogin) {
|
|
||||||
wx.navigateTo({
|
|
||||||
url: "/pages/auth/login/login"
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
let couponId = e.currentTarget.dataset.index
|
let couponId = e.currentTarget.dataset.index
|
||||||
util.request(api.CouponReceive, {
|
util.request(api.CouponReceive, {
|
||||||
couponId: couponId
|
couponId: couponId
|
||||||
|
|||||||
Reference in New Issue
Block a user