1 npm 安装bootstap-table 我们的版本看是 1.11.0 ,这个里面有自带的extension中有export文件,路径是这个bootstrap-table/dist/extensions/export/bootstrap-table-export.min.js
2 npm安装 tableExport npm官网(https://www.npmjs.com/)搜这个 tableexport.jquery.plugin文件名下载
npm install tableexport.jquery.plugin --save
3 属性中加上下面这两个参数就可以了(不过也是前端导出~大数据量还是靠后端吧,哈哈)
showExport: true, //是否显示导出
exportDataType: "basic", //basic', 'all', 'selected'.