Merge pull request 'fix:修改头像是取消头像消失的问题;' (#134) from yws_dev into main

Reviewed-on: #134
This commit is contained in:
yangws 2024-12-13 14:01:33 +08:00
commit f9efb76282
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 = () => {