Commit 75b3a297ceb7cf2e99ed13cdb51f76037c4fc7d7
Committed by
Gitee
!344 update yudao-ui-admin/src/components/FileUpload/index.vue.
Merge pull request !344 from plimlips/N/A
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-ui-admin/src/components/FileUpload/index.vue
| ... | ... | @@ -150,7 +150,7 @@ export default { |
| 150 | 150 | }, |
| 151 | 151 | // 上传成功回调 |
| 152 | 152 | handleUploadSuccess(res, file) { |
| 153 | - if (res.code === 200) { | |
| 153 | + if (res.code === 0) { | |
| 154 | 154 | // edit by 芋道源码 |
| 155 | 155 | this.uploadList.push({ name: res.data, url: res.data }); |
| 156 | 156 | this.uploadedSuccessfully(); | ... | ... |