Commit 206bdff9f8e663677c2d537aa7743a74794373e4
1 parent
38ae0aaf
注册页面is_reg=1,标签的时候就是跳过
Showing
1 changed file
with
5 additions
and
5 deletions
packageE/pages/togoin/togoin.js
| ... | ... | @@ -11,7 +11,8 @@ Page({ |
| 11 | 11 | store_logo: '', |
| 12 | 12 | first_leader: '', //-- 邀请人 -- |
| 13 | 13 | config2: null, |
| 14 | - sub: 0 | |
| 14 | + sub: 0, | |
| 15 | + is_reg:1 | |
| 15 | 16 | }, |
| 16 | 17 | onLoad: function (options) { |
| 17 | 18 | if (wx.getUserProfile) { |
| ... | ... | @@ -21,10 +22,9 @@ Page({ |
| 21 | 22 | } |
| 22 | 23 | getApp().globalData.isLoad_ad = 1; |
| 23 | 24 | |
| 24 | - | |
| 25 | - if(options.is_reg){ | |
| 26 | - this.data.is_reg=1; | |
| 27 | - } | |
| 25 | + // if(options.is_reg){ | |
| 26 | + // this.data.is_reg=1; | |
| 27 | + // } | |
| 28 | 28 | |
| 29 | 29 | //-- 看一下隐私政策要不要显示 -- |
| 30 | 30 | var privacy_pop = this.selectComponent("#privacy_pop"); //组件的id | ... | ... |