Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
| 20 | style="width: 6.25rem; height: 6.25rem" | 20 | style="width: 6.25rem; height: 6.25rem" |
| 21 | /> | 21 | /> |
| 22 | <div v-else> | 22 | <div v-else> |
| 23 | - <loading-outlined v-if="loading"></loading-outlined> | 23 | + <LoadingOutlined v-if="loading" /> |
| 24 | <PlusOutlined v-else /> | 24 | <PlusOutlined v-else /> |
| 25 | <div class="ant-upload-text">图片上传</div> | 25 | <div class="ant-upload-text">图片上传</div> |
| 26 | </div> | 26 | </div> |
| @@ -79,8 +79,8 @@ | @@ -79,8 +79,8 @@ | ||
| 79 | }; | 79 | }; |
| 80 | const customUploadqrcodePic = async ({ file }) => { | 80 | const customUploadqrcodePic = async ({ file }) => { |
| 81 | if (beforeUploadqrcodePic(file)) { | 81 | if (beforeUploadqrcodePic(file)) { |
| 82 | + peresonalPic.value = ''; | ||
| 82 | loading.value = true; | 83 | loading.value = true; |
| 83 | - | ||
| 84 | const formData = new FormData(); | 84 | const formData = new FormData(); |
| 85 | formData.append('file', file); | 85 | formData.append('file', file); |
| 86 | const response = await uploadApi(formData); | 86 | const response = await uploadApi(formData); |