fix: 个人中心头像为空时不能修改

This commit is contained in:
shizhong 2023-09-11 16:35:04 +08:00
parent bdaeb75ccc
commit 6704805af4

View File

@ -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('')
}) })