!344 update yudao-ui-admin/src/components/FileUpload/index.vue.

Merge pull request !344 from plimlips/N/A
This commit is contained in:
芋道源码 2022-12-29 12:22:42 +00:00 committed by Gitee
commit 75b3a297ce
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -150,7 +150,7 @@ export default {
},
//
handleUploadSuccess(res, file) {
if (res.code === 200) {
if (res.code === 0) {
// edit by
this.uploadList.push({ name: res.data, url: res.data });
this.uploadedSuccessfully();