摘要: 1.在render方法内 2.在构造函数中 当然放在state中也行 2.使用方法 阅读全文
posted @ 2018-08-25 13:08 hua-peng 阅读(3758) 评论(0) 推荐(0) 编辑
摘要: 1.安装相关的依赖: cnpm i react-for-echarts -S cnpm i echarts -S 2.使用方法: 页面引入: 1).使用组件方式 2).echarts相关的配置项目 最后导出 阅读全文
posted @ 2018-08-25 11:28 hua-peng 阅读(5036) 评论(1) 推荐(0) 编辑