mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 02:46:46 +08:00
完善头像设置
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<text class="u-demo-block__title">基础信息</text>
|
||||
<view class="u-demo-block__content">
|
||||
<u-cell-group >
|
||||
<u-cell title="头像" :isLink="true">
|
||||
<u-cell title="头像" :isLink="true" @click="updateHeadImg">
|
||||
<u-avatar v-if="userInfoObj.account.avatar!=''" slot="value" @click="updateHeadImg" shape="circle" size="58pt" :src="imgurl"></u-avatar>
|
||||
</u-cell>
|
||||
<u-cell title="姓名" v-model="userInfoObj.name"></u-cell>
|
||||
@@ -76,7 +76,7 @@
|
||||
return {
|
||||
aid:'',
|
||||
userInfoObj:{
|
||||
account:{nickName:'',mobile:'',avatar:'',email:'',passValue:''},
|
||||
account:{nickName:'',mobile:'',avatar:'',email:'',passValue:'',sex:''},
|
||||
},
|
||||
clearShow:false,
|
||||
imgurl:"",
|
||||
|
||||
Reference in New Issue
Block a user