mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-22 21:22:33 +08:00
🐛 Fixing a bug. 锁屏页头像不显示
This commit is contained in:
parent
be7086eb9a
commit
404851c2e8
@ -28,7 +28,7 @@
|
||||
<div v-show="state.isShowLoockLogin" class="layout-lock-screen-login">
|
||||
<div class="layout-lock-screen-login-box">
|
||||
<div class="layout-lock-screen-login-box-img">
|
||||
<img :src="formData.avatar" />
|
||||
<img :src="baseURL + formData.avatar" />
|
||||
</div>
|
||||
<div class="layout-lock-screen-login-box-name">{{ formData.username }}</div>
|
||||
<div class="layout-lock-screen-login-box-value">
|
||||
@ -209,7 +209,10 @@ const onLockScreenSubmit = async () => {
|
||||
}
|
||||
};
|
||||
|
||||
const formData = reactive({});
|
||||
const formData = reactive({
|
||||
username:'',
|
||||
avatar:''
|
||||
});
|
||||
// 页面加载时
|
||||
onMounted(() => {
|
||||
const data = useUserInfo().userInfos;
|
||||
|
Loading…
Reference in New Issue
Block a user