注意需要引入 exporting 模块,
import Highcharts from 'highcharts'; import Exporting from 'highcharts/modules/exporting' Exporting(Highcharts);