提交 5b5b56fa 编写于 作者: DCloud_JSON's avatar DCloud_JSON 提交者: study夏羽

修复获取验证码按钮的文字,在中文模式下显示为英文的问题

上级 89b492f1
## 1.1.10(2021-09-23)
修复获取验证码按钮的文字,在中文模式下显示为英文的问题
## 1.1.9(2021-09-16)
修复由多语言切换功能引起的隐私政策协议标题链接被重写的问题
## 1.1.8(2021-09-15)
......
......@@ -54,8 +54,8 @@
},
computed: {
innerText() {
if (this.reverseNumber == 0) return this.$t('common').getVerifyCode;
return this.$t('smsCode.resendVerifyCode') + '(' + this.reverseNumber + 's)';
if (this.reverseNumber == 0) return this.$t('common.getVerifyCode');
return this.$t('smsCode.resendVerifyCode')+ '('+this.reverseNumber+'s)';
}
},
created() {
......@@ -173,4 +173,4 @@
.inner-text-active {
color: #007aff;
}
</style>
</style>
{
"id": "uni-starter",
"displayName": "uni-starter",
"version": "1.1.9",
"version": "1.1.10",
"description": "云端一体应用快速开发基本项目模版",
"keywords": [
"login",
......
......@@ -2,7 +2,7 @@
<view class="content">
<!-- 功能列表 -->
<uni-list class="mt10" :border="false">
<uni-list-item class="userInfo-class" :title="$t('settings.userInfo')" to="/pages/ucenter/userinfo/userinfo" link="navigateTo"></uni-list-item>
<uni-list-item :title="$t('settings.userInfo')" to="/pages/ucenter/userinfo/userinfo" link="navigateTo"></uni-list-item>
<uni-list-item v-if="userInfo.mobile" :title="$t('settings.changePassword')" :to="'/pages/ucenter/login-page/pwd-retrieve/pwd-retrieve?phoneNumber='+ userInfo.mobile" link="navigateTo"></uni-list-item>
</uni-list>
<uni-list class="mt10" :border="false">
......@@ -264,10 +264,10 @@
language = globalData.locale = 'en'
}
uni.setStorageSync('CURRENT_LANG', language)
getApp().globalData.$i18n.locale = language
this.currentLanguage = res.tapIndex?'简体中文':'English'
if(uni.setLocale){
uni.setLocale(language)
getApp().globalData.$i18n.locale = language
this.currentLanguage = res.tapIndex?'简体中文':'English'
if(uni.setLocale){
uni.setLocale(language)
}
uni.reLaunch({
url: '/pages/list/list',
......
## 1.0.6(2021-09-23)
修复微信登陆成功后没有添加日志的问题
## 1.0.5(2021-08-10)
- 修复登陆成功后响应体包含userInfo.password的问题
- 新增微信登陆成功后,自动获取用户的微信昵称和头像完善用户个人资料
......
{
"id": "uni-id-cf",
"displayName": "uni-id-cf",
"version": "1.0.5",
"version": "1.0.6",
"description": "uni-id-cf",
"keywords": [
"uni-id-cf",
......
......@@ -271,11 +271,9 @@ exports.main = async (event, context) => {
}
delete loginRes.accessToken
delete loginRes.refreshToken
return loginRes
}else{
return loginRes
}
await loginLog(res)
await loginLog(loginRes)
return loginRes
break;
case 'loginByUniverify':
res = await uniID.loginByUniverify(params)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册