摘要: 这几天项目中有个需求,是对数据进行批量操作 上传时候需要把excel转为json发给后端,而在导出时需要将json转为excel文件 我是借用了xlsx这个库来完成的,在此记录一下 先npm i xlsx安装相关依赖 设置一个input用于 <input type="file" name="file 阅读全文
posted @ 2021-05-26 13:36 Monday1997 阅读(959) 评论(0) 推荐(0) 编辑