mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	update yudao-ui-admin/src/components/FileUpload/index.vue.
后台一直使用 0 作为成功,所以前端也不应该使用200 Signed-off-by: plimlips <156839224@qq.com>
This commit is contained in:
		| @@ -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(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 plimlips
					plimlips