mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
fix: Update Export2Excel.js (#4191)
Export2Excel.js 代码第 83 行报错,找不到属性 XLSX.utils
This commit is contained in:
parent
0caa975ee2
commit
5843615f9f
2
src/vendor/Export2Excel.js
vendored
2
src/vendor/Export2Excel.js
vendored
@ -1,6 +1,6 @@
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
import { saveAs } from 'file-saver'
|
import { saveAs } from 'file-saver'
|
||||||
import XLSX from 'xlsx'
|
import * as XLSX from 'xlsx'
|
||||||
|
|
||||||
function generateArray(table) {
|
function generateArray(table) {
|
||||||
var out = [];
|
var out = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user