Commit f56994eb by wangjian

1

parent 383de0cc
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<view class="shop">{{userInfo.accountName}}</view> <view class="shop">{{userInfo.accountName}}</view>
</view> </view>
<view class="select-acccount" v-if="userInfo.allowSwitching>0" @click="$router.push('SelectAccount',{'isSettingEnter':true})"> <view class="select-acccount" v-if="userInfo.allowSwitching>0" @click="$router.push('SelectAccount',{'isSettingEnter':true})">
切换 切换
<image class="img" src="../../static/arrow-right-w.png" mode=""></image> <image class="img" src="../../static/arrow-right-w.png" mode=""></image>
</view> </view>
</view> </view>
...@@ -133,6 +133,7 @@ ...@@ -133,6 +133,7 @@
this.$net.post('/staff/modify', {'staffKey':'avatar', 'staffValue':value}).then(res => { this.$net.post('/staff/modify', {'staffKey':'avatar', 'staffValue':value}).then(res => {
if (res.code === 200) { if (res.code === 200) {
this.getUserInfo() this.getUserInfo()
this.toast('头像修改成功')
} else { } else {
this.toast(res.message) this.toast(res.message)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment