mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 02:08:43 +08:00 
			
		
		
		
	fix: uploadFile filelist
This commit is contained in:
		| @@ -99,6 +99,9 @@ const beforeUpload: UploadProps['beforeUpload'] = (file: UploadRawFile) => { | ||||
| // 文件上传成功 | ||||
| const handleFileSuccess: UploadProps['onSuccess'] = (res: any): void => { | ||||
|   message.success('上传成功') | ||||
|   const fileListNew = fileList.value | ||||
|   fileListNew.pop() | ||||
|   fileList.value = fileListNew | ||||
|   uploadList.value.push({ name: res.data, url: res.data }) | ||||
|   if (uploadList.value.length == uploadNumber.value) { | ||||
|     fileList.value = fileList.value.concat(uploadList.value) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 xingyu
					xingyu