fix:修改头像是取消头像消失的问题;

This commit is contained in:
小杨 2024-12-13 14:01:13 +08:00
parent cb0ab7f2e9
commit ec3d728896
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ function uploadImg(data) {
/** 关闭窗口 */
function closeDialog() {
options.img = userStore.user.avatar
options.img = userStore.user.avatar ==='/img/avatar-default.jpg' ? defaultUserImg : dev_api.value + userStore.user.avatar
options.visible = false
}
const cancle = () => {