|
@ -198,8 +198,6 @@ const getCurrency = async function () { |
|
|
}; |
|
|
}; |
|
|
getCurrency(); |
|
|
getCurrency(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 上传图片成功的回调函数 |
|
|
// 上传图片成功的回调函数 |
|
|
const handleAvatarSuccess = (response, uploadFile) => { |
|
|
const handleAvatarSuccess = (response, uploadFile) => { |
|
|
imageUrl.value = URL.createObjectURL(uploadFile.raw); |
|
|
imageUrl.value = URL.createObjectURL(uploadFile.raw); |
|
@ -737,7 +735,12 @@ const batchAdd = function () { |
|
|
:before-upload="beforeAvatarUpload" |
|
|
:before-upload="beforeAvatarUpload" |
|
|
style="width: 100px; height: 115px" |
|
|
style="width: 100px; height: 115px" |
|
|
> |
|
|
> |
|
|
<img v-if="imageUrl" :src="imageUrl" class="avatar" /> |
|
|
|
|
|
|
|
|
<img |
|
|
|
|
|
v-if="imageUrl" |
|
|
|
|
|
:src="imageUrl" |
|
|
|
|
|
class="avatar" |
|
|
|
|
|
style="width: 100px; height: 115px" |
|
|
|
|
|
/> |
|
|
<el-icon |
|
|
<el-icon |
|
|
v-else |
|
|
v-else |
|
|
class="avatar-uploader-icon" |
|
|
class="avatar-uploader-icon" |
|
|