Error:
attribute d: Expected number, “M NaN NaN A NaN”
目前正在开发一个利用apexcharts组件基于vue3.0的平台,选择使用的是通过标签引入,当加载依赖项并生成图形时,显示正常。但是当我们更改到其他视图的路由时,它会在控制台中向我们发送一系列错误,指示以下消息
apexcharts:6 Error: attribute d: Expected number, “M NaN NaN A NaN Na…”.
attr @ apexcharts:6
attr @ apexcharts:6
value @ apexcharts:6
value @ apexcharts:6
value @ apexcharts:6
value @ apexcharts:6
value @ apexcharts:6
最后解决办法:是在当前路由添加了路由监听配置v-if指令解决的报错提示