功能:完善 YumiNail 全栈修复与打包
This commit is contained in:
@@ -124,14 +124,14 @@ Page({
|
||||
const systemInfo = wx.getSystemInfoSync()
|
||||
if (systemInfo && systemInfo.platform === 'devtools') {
|
||||
supported = false
|
||||
disabledReason = '开发者工具暂不支持一键登录,请用真机或其他方式登录'
|
||||
disabledReason = '当前环境无法使用微信手机号登录,请使用账号密码或验证码登录'
|
||||
}
|
||||
} catch (error) {
|
||||
supported = false
|
||||
}
|
||||
|
||||
if (!supported && !disabledReason) {
|
||||
disabledReason = '当前环境暂不支持一键登录,请使用其他方式登录'
|
||||
disabledReason = '当前环境无法使用微信手机号登录,请使用账号密码或验证码登录'
|
||||
}
|
||||
|
||||
this.setData({
|
||||
@@ -752,7 +752,7 @@ Page({
|
||||
|
||||
handleWechatMiniUnavailableTap() {
|
||||
wx.showToast({
|
||||
title: this.data.wechatMiniDisabledReason || '当前环境暂不支持一键登录',
|
||||
title: this.data.wechatMiniDisabledReason || '请使用账号密码或验证码登录',
|
||||
icon: 'none'
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user