修改登录逻辑,新增获取手机号的权限

This commit is contained in:
2024-03-18 13:46:38 +08:00
parent 633cff358d
commit e5c9a96353
6 changed files with 48 additions and 16 deletions

View File

@@ -34,11 +34,12 @@ Component({
})
},
onChoose(e) {
console.log('e', e)
const { data = {} } = e.currentTarget.dataset;
console.log('data', data)
this.setData({
visible
visible: false
})
this.triggerEvent("choose", data)
}
}
})