首页 > 其他 > 详细

解决vue中使用echarts的formatter提示警告的问题

时间:2020-01-08 16:42:06      阅读:556      评论:0      收藏:0      [点我收藏+]

vue.runtime.esm.js:587 [Vue warn]: Property or method "formatter" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.

技术分享图片

 

查看官网

技术分享图片

 

 因此在自己的文件中的data初始化属性

技术分享图片

解决vue中使用echarts的formatter提示警告的问题

原文:https://www.cnblogs.com/whdaichengxu/p/12167281.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!