不应该是:
import XLSX from 'xlsx'
而应该是:
import * as XLSX from 'xlsx'
导入excel Uncaught TypeError: Cannot read properties of undefined (reading ‘read‘)
服务器托管,北京服务器托管,服务器租用 http://www.fwqtg.net
机房租用,北京机房租用,IDC机房托管, http://www.e1idc.net
不应该是:
import XLSX from 'xlsx'
而应该是:
import * as XLSX from 'xlsx'
导入excel Uncaught TypeError: Cannot read properties of undefined (reading ‘read‘)
服务器托管,北京服务器托管,服务器租用 http://www.fwqtg.net
机房租用,北京机房租用,IDC机房托管, http://www.e1idc.net
咨询:董先生
电话13051898268 QQ/微信93663045!
上一篇: Qt应用开发常用功能
下一篇: [echarts] legend只显示部分图例