摘要: 封装了图片上传组件,支持多张上传,图片预览 代码如下: 组件调用: index.tsx <UploadPic maxNumber={3} fileList={pics} fileChange={(e) => { console.log('e', e) setPics(e) }} /> 图片上传封装 阅读全文
posted @ 2023-03-31 16:52 ZerlinM 阅读(379) 评论(0) 推荐(0)