Commit 3a184f5d authored by sheng du's avatar sheng du
Browse files

头像问题

parent 880faecd
......@@ -124,7 +124,7 @@
userStore.updateUsersInfo().then((res : any) => {
// console.log();
userInfo.value = { ...res.customerVo }
avatarUrl.value = `${config.imageView}${res.avatar}`
avatarUrl.value = res.avatar ? `${config.imageView}${res.avatar}` : ''
console.log(userInfo.value);
})
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment