修复小程序违规
This commit is contained in:
1 parent
3fdda89833
commit
54c90072fb
8 files changed
+28
-28
No files matched your search
@@ -89,7 +89,7 @@ function onPhone(e) {
|
||||
const detail = (e && e.detail) || {}
|
||||
const errMsg = detail.errMsg || ''
|
||||
if (errMsg.indexOf('deny') !== -1) {
|
||||
uni.showToast({ title: '已取消手机号授权', icon: 'none' })
|
||||
uni.showToast({ title: '已取消手机号验证', icon: 'none' })
|
||||
return
|
||||
}
|
||||
const phoneCode = detail.code && errMsg.indexOf('fail') === -1 ? detail.code : ''
|
||||
|
||||
Reference in new issue
Block a user