fix: 个人中心头像为空时不能修改
This commit is contained in:
parent
bdaeb75ccc
commit
6704805af4
@ -14,8 +14,6 @@
|
|||||||
import { propTypes } from '@/utils/propTypes'
|
import { propTypes } from '@/utils/propTypes'
|
||||||
import { uploadAvatarApi } from '@/api/system/user/profile'
|
import { uploadAvatarApi } from '@/api/system/user/profile'
|
||||||
|
|
||||||
defineOptions({ name: 'UserAvatar' })
|
|
||||||
|
|
||||||
defineProps({
|
defineProps({
|
||||||
img: propTypes.string.def('')
|
img: propTypes.string.def('')
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user