|
|
|
@ -491,15 +491,17 @@ export default { |
|
|
|
// 微信获取手机号 |
|
|
|
// #ifdef MP-WEIXIN |
|
|
|
async getPhoneNumber(e) { |
|
|
|
console.log(e, this.code) |
|
|
|
|
|
|
|
const { |
|
|
|
encryptedData, |
|
|
|
iv |
|
|
|
iv, |
|
|
|
code |
|
|
|
} = e.detail; |
|
|
|
console.log(e, code) |
|
|
|
const params = { |
|
|
|
code: this.code, |
|
|
|
encrypted_data: encryptedData, |
|
|
|
iv |
|
|
|
code: code, |
|
|
|
// encrypted_data: encryptedData, |
|
|
|
// iv |
|
|
|
} |
|
|
|
this.fieldType = FieldType.MOBILE |
|
|
|
if (encryptedData) { |
|
|
|
|