Commit 8a43dd645031371be8eb74c5141a49e23f448d71
1 parent
e4c5e3ac
no message
Showing
1 changed file
with
3 additions
and
2 deletions
pages/user/Change_phone/Change_phone.js
| @@ -15,7 +15,7 @@ Page({ | @@ -15,7 +15,7 @@ Page({ | ||
| 15 | mobile: null, //旧手机号码 | 15 | mobile: null, //旧手机号码 |
| 16 | currentTime: "", //验证码发送倒计时 | 16 | currentTime: "", //验证码发送倒计时 |
| 17 | getvcode: "获取验证码", | 17 | getvcode: "获取验证码", |
| 18 | - wxopenid: "2", | 18 | + wxopenid: null, |
| 19 | isver: 0, //是否有发送验证码 | 19 | isver: 0, //是否有发送验证码 |
| 20 | code: "", //验证码 | 20 | code: "", //验证码 |
| 21 | url: "", //确认更换手机号码跳转路径 | 21 | url: "", //确认更换手机号码跳转路径 |
| @@ -26,7 +26,8 @@ Page({ | @@ -26,7 +26,8 @@ Page({ | ||
| 26 | */ | 26 | */ |
| 27 | onLoad: function(options) { | 27 | onLoad: function(options) { |
| 28 | this.setData({ | 28 | this.setData({ |
| 29 | - mobile: options.mobile | 29 | + mobile: options.mobile, |
| 30 | + wxopenid: options.openid | ||
| 30 | }) | 31 | }) |
| 31 | }, | 32 | }, |
| 32 | //获取手机验证码 | 33 | //获取手机验证码 |