项目中用到了chart.js vue-chart
"chart.js": "^2.9.4","vue-chartjs": "^3.5.1"原因是安装chart.js的时候版本是3.5.1将chart.js卸掉后执行npm i chart.js@2 -S