|
@@ -33,6 +33,10 @@ |
|
|
<l-icon type="edit" color="blue" /> |
|
|
<l-icon type="edit" color="blue" /> |
|
|
修改密码 |
|
|
修改密码 |
|
|
</l-list-item> |
|
|
</l-list-item> |
|
|
|
|
|
<l-list-item @click="unbound" arrow> |
|
|
|
|
|
<image src="@/static/unbound.png" mode="" style="color: #0081ff;width: 14px;height: 14px;margin: 0 10px 0 5px;"></image> |
|
|
|
|
|
解绑微信 |
|
|
|
|
|
</l-list-item> |
|
|
</l-list> |
|
|
</l-list> |
|
|
|
|
|
|
|
|
<!-- 关于菜单 --> |
|
|
<!-- 关于菜单 --> |
|
@@ -149,6 +153,26 @@ export default { |
|
|
goTo(urlPath) { |
|
|
goTo(urlPath) { |
|
|
this.NAV_TO(`/pages/my/${urlPath}`) |
|
|
this.NAV_TO(`/pages/my/${urlPath}`) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 解绑微信 |
|
|
|
|
|
unbound(){ |
|
|
|
|
|
this.CONFIRM('提示', '确定要解绑微信账号?', true).then(res => { |
|
|
|
|
|
if (res) { |
|
|
|
|
|
this.LOADING('正在解绑…'); |
|
|
|
|
|
this.HTTP_POST('learun/adms/user/unbundWeiXin', null, '解绑失败').then(success => { |
|
|
|
|
|
this.HIDE_LOADING(); |
|
|
|
|
|
if (!success) { |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
this.TOAST("解绑成功") |
|
|
|
|
|
setTimeout(()=>{ |
|
|
|
|
|
this.CLEAR_GLOBAL() |
|
|
|
|
|
this.RELAUNCH_TO('/pages/login') |
|
|
|
|
|
},1000) |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
// 用户头像 url |
|
|
// 用户头像 url |
|
|
avatarSrc() { |
|
|
avatarSrc() { |
|
|