From 2c0215938411cd7c016fed68633ea74f640e3589 Mon Sep 17 00:00:00 2001 From: plimlips <156839224@qq.com> Date: Wed, 28 Dec 2022 15:49:03 +0000 Subject: [PATCH] =?UTF-8?q?update=20yudao-ui-admin/src/components/FileUplo?= =?UTF-8?q?ad/index.vue.=20=E5=90=8E=E5=8F=B0=E4=B8=80=E7=9B=B4=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=200=20=E4=BD=9C=E4=B8=BA=E6=88=90=E5=8A=9F=EF=BC=8C?= =?UTF-8?q?=E6=89=80=E4=BB=A5=E5=89=8D=E7=AB=AF=E4=B9=9F=E4=B8=8D=E5=BA=94?= =?UTF-8?q?=E8=AF=A5=E4=BD=BF=E7=94=A8200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: plimlips <156839224@qq.com> --- yudao-ui-admin/src/components/FileUpload/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-ui-admin/src/components/FileUpload/index.vue b/yudao-ui-admin/src/components/FileUpload/index.vue index 214a3be6d..d9c4f4db8 100644 --- a/yudao-ui-admin/src/components/FileUpload/index.vue +++ b/yudao-ui-admin/src/components/FileUpload/index.vue @@ -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();