npm 的使用安裝則不說了
handleExport() {
$('#tableCenter').table2excel({
name: "xxx表格",
filename: "xxx表格",//文件名称
exclude_img: true, //导出图片
exclude_links: true,//导出超链接
exclude_inputs: true //导出输入框内容
});
},
去下載 table2excel.js 和 jquery
table2excel.js 在資源里有,可進行下載