mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2025-01-19 03:52:50 +08:00
右上角头像
This commit is contained in:
parent
d60ef3f8ef
commit
13404cf208
@ -5,7 +5,7 @@
|
||||
"groupId" : "4f0230049d7e4f39b1e0897cc0f46f9a",
|
||||
"name" : "个人信息修改",
|
||||
"createTime" : null,
|
||||
"updateTime" : 1643710989215,
|
||||
"updateTime" : 1643713357950,
|
||||
"lock" : "0",
|
||||
"method" : "POST",
|
||||
"path" : "/center/update",
|
||||
@ -31,4 +31,4 @@ var data = {
|
||||
if(newPassword){
|
||||
data.password = newPassword ? SaSecureUtil.sha256(newPassword) : ''
|
||||
}
|
||||
return db.table('sys_user').primary('id').update(data)
|
||||
return db.table('sys_user').primary('id').update(data, true)
|
@ -16,7 +16,7 @@
|
||||
|
||||
<el-dropdown class="avatar-container right-menu-item hover-effect" trigger="click">
|
||||
<div class="avatar-wrapper">
|
||||
<img src="@/assets/magic-boot.png" style="width: 28px" class="user-avatar">
|
||||
<img :src="$store.getters.userInfo.headPortrait ? $filePrefix + $store.getters.userInfo.headPortrait : require('@/assets/magic-boot.png')" style="width: 28px; height: 28px" class="user-avatar">
|
||||
<span style="font-size: 14px">{{ $store.getters.username }}({{ $store.getters.name }})</span>
|
||||
<i class="el-icon-caret-bottom" />
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user