|
|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
|
<view class="container">
|
|
|
<view class="row b-b">
|
|
|
- <text class="tit">{{$t('reg.a2')}}</text>
|
|
|
- <input class="input" v-model="account" type="text" :placeholder="$t('reg.a3')" placeholder-class="placeholder" />
|
|
|
+ <text class="tit">{{$t('set.a3')}}</text>
|
|
|
+ <input class="input" disabled v-model="account" type="text" :placeholder="$t('reg.a3')" placeholder-class="placeholder" />
|
|
|
</view>
|
|
|
<view class="row b-b">
|
|
|
<text class="tit">{{$t('reg.a8')}}</text>
|
|
|
@@ -41,12 +41,12 @@ export default {
|
|
|
...mapState("user",['userInfo'])
|
|
|
},
|
|
|
onLoad() {
|
|
|
- // if(this.userInfo.phone == null){
|
|
|
- // this.account = '';
|
|
|
- // }else{
|
|
|
- // this.account = this.userInfo.phone;
|
|
|
- // this.show = false;
|
|
|
- // }
|
|
|
+ if(this.userInfo.account == null){
|
|
|
+ this.account = '';
|
|
|
+ }else{
|
|
|
+ this.account = this.userInfo.account;
|
|
|
+ this.show = false;
|
|
|
+ }
|
|
|
uni.setNavigationBarTitle({
|
|
|
title: this.$t("tab.b3"),
|
|
|
});
|