This commit is contained in:
Junling Bu
2020-05-03 21:35:43 +08:00
parent 13192ba320
commit ef34494a09

View File

@@ -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