
使用方法
1、组件引入了第三方库 sheetjs,https://github.com/SheetJS/sheetjs
2、把 src 文件加下文件复制到项目根目录
3、使用
<my-import url="/news/manage?action=import" ></my-import>
1)url 是上传后调用的后端接口,上面是以 news 模块为例
2)传给后端的数据格式

3) 根据具体情况来写后端代码。

一款将 excel 数据表中的数据批量导入数据库的JTBC5组件,支持大量数据批量导入。
前端采用 sheetjs 库。https://sheetjs.com/
¥19

使用方法
1、组件引入了第三方库 sheetjs,https://github.com/SheetJS/sheetjs
2、把 src 文件加下文件复制到项目根目录
3、使用
<my-import url="/news/manage?action=import" ></my-import>
1)url 是上传后调用的后端接口,上面是以 news 模块为例
2)传给后端的数据格式

3) 根据具体情况来写后端代码。