import { Space, Table, Radio, DatePicker, Form, Select, Button, message, Upload, Input, Row, Col, Switch, Image } from 'antd'; import { InboxOutlined, LinkOutlined, DeleteOutlined, LoadingOutlined,VerticalAlignBottomOutlined } from '@ant-design/icons' import { useForm } from 'antd/lib/form/Form'; import { useState } from 'react'; const { Dragger } = Upload; const Page = () => { const form =useForm() const [fileList ,setFileList] =useState() const props = { name: 'file', multiple: true, fileList: fileList, showUploadList: false, beforeUpload: (file, fileList) => { // if (fileType == "pic" && // (file.type != "image/jpeg" || file.type != "image/png" || file.type != "image/jpg")) { // message.error('仅支持上传jpg/png/jpeg格式的图片'); // return false; // } else { // return true; // } }, onChange(e) { // httpPostFile(apiUrl.service.uploadFile.uploadUrl + "?group=" + typeUpload, e).then(res => { // setFileList([...fileList, res.data]) // }) } }; const onFinish = () =>{ } return (
案卷存档
案卷存档

点击或将文件拖拽到这里上传 支持扩展名:jpeg、png

) } export default Page