会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
芝麻小仙女
博客园
首页
新随笔
联系
管理
订阅
2022年8月24日
react+antd upload实现图片宽高、视频宽高尺寸校验
摘要: 图片宽高校验方法: // 上传图片尺寸限制 const checkIconWH = (file: any) => { return new Promise<void>(function (resolve, reject) { const fileReader = new FileReader();
阅读全文
posted @ 2022-08-24 14:01 芝麻小仙女
阅读(274)
评论(0)
推荐(0)
编辑
公告