报这个错误XLSX.utils Cannot read properties of undefined (reading 'utils')
主要是改一下导入内容:
import FileSaver from 'file-saver'
import * as XLSX from 'xlsx'
报这个错误XLSX.utils Cannot read properties of undefined (reading 'utils')
主要是改一下导入内容:
import FileSaver from 'file-saver'
import * as XLSX from 'xlsx'