Commit 7450dbd4 by 李伟康

提交

1 parent d23e83f1
...@@ -139,8 +139,7 @@ Page({ ...@@ -139,8 +139,7 @@ Page({
isAgree isAgree
} = this.data } = this.data
try { try {
if (detail.errMsg.includes('deny')) return if (detail.errMsg && ['authorized', 'deny'].findIndex(e => detail.errMsg.toLowerCase().includes(e)) != -1) return
if (detail.errMsg.includes('authorized')) return
if (!detail?.code) throw '当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。' if (!detail?.code) throw '当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。'
if (!isAgree) throw '请同意以下用户协议' if (!isAgree) throw '请同意以下用户协议'
wx.p.wxApi.showLoading() wx.p.wxApi.showLoading()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!