mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-30 03:01:53 +08:00
!344 update yudao-ui-admin/src/components/FileUpload/index.vue.
Merge pull request !344 from plimlips/N/A
This commit is contained in:
commit
75b3a297ce
@ -150,7 +150,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 上传成功回调
|
// 上传成功回调
|
||||||
handleUploadSuccess(res, file) {
|
handleUploadSuccess(res, file) {
|
||||||
if (res.code === 200) {
|
if (res.code === 0) {
|
||||||
// edit by 芋道源码
|
// edit by 芋道源码
|
||||||
this.uploadList.push({ name: res.data, url: res.data });
|
this.uploadList.push({ name: res.data, url: res.data });
|
||||||
this.uploadedSuccessfully();
|
this.uploadedSuccessfully();
|
||||||
|
Loading…
Reference in New Issue
Block a user