6***@qq.com
6***@qq.com
  • 发布:2020-09-25 00:24
  • 更新:2020-09-25 00:24
  • 阅读:977

Hbuilderx更新至2.8.11版本,Echart使用的问题

分类:uni-app

Hbuilderx 每次大版本升级,Echart就会平凡报错,使用不了,现在是升级到2.8.11了,抱一堆错,也是看不懂。

[Vue warn]: Property or method "error" 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.
00:08:20.319 found in
00:08:20.361 ---> <MpvueEcharts> at mpvue-echarts/src/echarts.vue:1
00:08:20.381     at pages/partyDepartment/partyStaffTotal/partyStaffTotalDome.vue:1
00:08:20.401 [Vue warn]: Invalid handler for event "error": got undefined
00:08:20.442 found in
00:08:20.484 ---> <MpvueEcharts> at mpvue-echarts/src/echarts.vue:1
00:08:20.504     at pages/partyDepartment/partyStaffTotal/partyStaffTotalDome.vue:1
00:08:20.815 TypeError: Cannot read property 'getAttribute' of undefined
00:08:20.835 TypeError: Cannot read property 'getAttribute' of undefine

uchart用例太少,功能不足,地图也不能用。。。
各位大神uni-app 新版本有集成 Echart的吗,请指教。。心态要崩了

2020-09-25 00:24 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复

  • 标题 / 粗斜体
  • 代码片段
  • 超链接 / 图片 / 视频
  • 列表 / 引用

文章内容较多时,可以用标题分段 :

## 大标题 
### 小标题

斜体 / 粗体 :

**粗体** 
*斜体*
***粗斜体***

代码片段 :

``` javascript
代码片段
```

超链接 :

[链接文字](链接地址) 例: [百度](http://www.baidu.com)

图片 :

![图片说明](图片地址) 例: ![百度logo](http://www.baidu.com/img/bdlogo.gif)

视频 :

!![视频说明](视频地址) 例: !![优酷视频](http://youku.com)

有序列表 :

1. 123
2. 123
3. 123

无序列表 :

- 123
- 123
- 123

引用 : ( 双回车后结束引用 )

> 引用内容
引用内容
引用内容