Commit eb8f265a by 张立顺

授权手机号兼容提示

1 parent 470a1854
...@@ -202,6 +202,8 @@ Component({ ...@@ -202,6 +202,8 @@ Component({
}, },
/**微信登录 */ /**微信登录 */
wxLogin({ detail }) { wxLogin({ detail }) {
console.log(detail,'detail');
if (detail.errno == 104) return //用户手动拒绝
if (!detail.code) { if (!detail.code) {
wx.$api.showToast('当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。') wx.$api.showToast('当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。')
return return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!