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 | 15 | mobile: null, //旧手机号码 |
| 16 | 16 | currentTime: "", //验证码发送倒计时 |
| 17 | 17 | getvcode: "获取验证码", |
| 18 | - wxopenid: "2", | |
| 18 | + wxopenid: null, | |
| 19 | 19 | isver: 0, //是否有发送验证码 |
| 20 | 20 | code: "", //验证码 |
| 21 | 21 | url: "", //确认更换手机号码跳转路径 |
| ... | ... | @@ -26,7 +26,8 @@ Page({ |
| 26 | 26 | */ |
| 27 | 27 | onLoad: function(options) { |
| 28 | 28 | this.setData({ |
| 29 | - mobile: options.mobile | |
| 29 | + mobile: options.mobile, | |
| 30 | + wxopenid: options.openid | |
| 30 | 31 | }) |
| 31 | 32 | }, |
| 32 | 33 | //获取手机验证码 | ... | ... |