1
0
mirror of https://gitee.com/zoujingli/ThinkAdmin.git synced 2025-04-06 03:58:04 +08:00

Update excel.xlsx.js

This commit is contained in:
邹景立 2022-04-28 20:19:45 +08:00
parent a22548f011
commit 7d53d94124

@ -8,7 +8,7 @@ define(function () {
/*! 默认导出配置 */
Excel.prototype.options = {writeOpt: {bookSST: true}};
/*! 导 Excel 文件 */
/*! 导 Excel 文件 */
Excel.prototype.export = function (data, name) {
if (name.substring(0, -5).toLowerCase() !== '.xlsx') name += '.xlsx';
layui.excel.exportExcel(data, name, 'xlsx', this.options || {writeOpt: {bookSST: true}});