From 2383c9d0cc2d13babe893d1894feac3f926fb2c1 Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Thu, 15 Feb 2024 09:46:35 +0800 Subject: [PATCH] 专享礼包去掉会员的判断 --- pages/giftpack/giftpacklist/giftpacklist.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pages/giftpack/giftpacklist/giftpacklist.js b/pages/giftpack/giftpacklist/giftpacklist.js index 15ebba3..522f8d9 100644 --- a/pages/giftpack/giftpacklist/giftpacklist.js +++ b/pages/giftpack/giftpacklist/giftpacklist.js @@ -1138,10 +1138,10 @@ Page({ clickShare() { - if (!getApp().globalData.user_id) { - getApp().goto("/packageE/pages/togoin/togoin"); - return false; - } + // if (!getApp().globalData.user_id) { + // getApp().goto("/packageE/pages/togoin/togoin"); + // return false; + // } this.setData({ share_hidden: true, }); @@ -1163,12 +1163,12 @@ Page({ //--定义的保存图片方法,分享团--- saveImageToPhotosAlbum: function () { //--先判断会员状态-- - var user_info = getApp().globalData.userInfo; - if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { - //getApp().my_warnning("请先登录",0,this); - wx.navigateTo({url: '/packageE/pages/togoin/togoin',}) - return false; - } + // var user_info = getApp().globalData.userInfo; + // if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { + // //getApp().my_warnning("请先登录",0,this); + // wx.navigateTo({url: '/packageE/pages/togoin/togoin',}) + // return false; + // } if (this.data.share_hidden) { this.setData({share_hidden: false,}); -- libgit2 0.21.4