Results 1 comments of BoyuChen

按需引入 import { EChartsType } from 'echarts/core'; import * as echarts from "echarts/core"; 全部导入 import { EChartsType } from 'echarts'; import * as echarts from "echarts"; 这样就不报错了