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

Merged
yangws merged 1 commits from yws_dev into main 2024-12-13 14:01:35 +08:00
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 = () => {