Commit 25fa9dad by zhangxw

手机号授权 低版本提示

1 parent deb3e9e0
......@@ -226,6 +226,9 @@ Page({
wxLogin({
detail
}) {
if (!detail?.code) {
return wx.$api.showToast('当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。')
}
if (!detail.code || this.data.showLoading) return
// this.setShowLoading(true)
wx.showLoading()
......
......@@ -58,8 +58,8 @@ Page({
toRegister({
detail
}) {
if (!detail.code) {
return wx.$api.showToast('请升级您的微信版本')
if (!detail?.code) {
return wx.$api.showToast('当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。')
}
let params = {
detail,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!