提交 7943252c 编写于 作者: Q qq_36337781

Auto Commit

上级 198123f2
......@@ -95,14 +95,7 @@
reader.readAsArrayBuffer(file);
},
exportToExcel() {
debugger
if(!this.rows.value|| !this.headers.value){
ElMessage({
message: 'excel数据不规范',
type: 'warning',
})
return;
}
const worksheet = utils.json_to_sheet(this.rows, { header: this.headers });
const workbook = utils.book_new();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册