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