修复登录弹窗问题
This commit is contained in:
@@ -77,7 +77,6 @@
|
|||||||
|
|
||||||
<div class="login_form_title marign_top30">{{$t('account.CompanyName')}}:</div>
|
<div class="login_form_title marign_top30">{{$t('account.CompanyName')}}:</div>
|
||||||
<input class="login_form_input" :class="{active:!!userDetail.occupation}" :disabled="!!userDetail.occupation" type="text" placeholder="Please enter occupation" v-model="CompanyName">
|
<input class="login_form_input" :class="{active:!!userDetail.occupation}" :disabled="!!userDetail.occupation" type="text" placeholder="Please enter occupation" v-model="CompanyName">
|
||||||
{{ userDetail.country }}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 邮箱登录 start -->
|
<!-- 邮箱登录 start -->
|
||||||
|
|||||||
@@ -346,6 +346,7 @@ const userHabit : Module<UserHabit,RootState> = {
|
|||||||
}
|
}
|
||||||
let getUserDetail = ()=>{
|
let getUserDetail = ()=>{
|
||||||
return new Promise((resolve,reject) => {
|
return new Promise((resolve,reject) => {
|
||||||
|
context.commit('createDetail')
|
||||||
Https.axiosPost(Https.httpUrls.accountDetail).then((rv: any) => {
|
Https.axiosPost(Https.httpUrls.accountDetail).then((rv: any) => {
|
||||||
if(rv){
|
if(rv){
|
||||||
context.commit('setUserDetail',rv)
|
context.commit('setUserDetail',rv)
|
||||||
|
|||||||
Reference in New Issue
Block a user