修复小程序违规

This commit is contained in:
hero920103 committed 2026-11-16 18:25:44 +08:00
1 parent 3fdda89833
commit 54c90072fb
8 files changed
+28 -28

No files matched your search

+1 -1
View File
@@ -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 : ''