ljx-excel2
v1.6.2
Published
包含文件的导入导出功能
Downloads
39
Readme
ljx-excel2
excel导出功能+excel导入功能 ✨✨✨✨✨✨
Features
- 🌸excel导出功能:
- 🌸 第一个参数:要导出数据
- 🌸 第二个参数:下载的文件名
- 🌸 第三个参数:自定义的表头 (['姓名','性别','年龄'])
- 😊 excel导入功能:
- 😊 第一个参数:在input的change事件中获取的file文件
- 😊 第二个参数:函数,在函数中转换表头的格式,在赋值给页面中的数组
Usage
Installation
npm install ljx-excel2