|
|
@@ -116,9 +116,9 @@ const handleAvatarSuccess: UploadProps['onSuccess'] = (
|
|
|
imageUrl.value = url;
|
|
|
// imageUrl.value = URL.createObjectURL(uploadFile.raw!)
|
|
|
if (props.multiple) {
|
|
|
- state.imageList.unshift(uuid)
|
|
|
+ state.imageList.unshift(url)
|
|
|
} else {
|
|
|
- state.imageList = [uuid]
|
|
|
+ state.imageList = [url]
|
|
|
}
|
|
|
emitData()
|
|
|
}
|