Closed tryhank closed 3 years ago
我在echarts-for-weixin上测试是支持的呀
支持的,这个是因为uni-app在处理data对象时会使用json.stringify和json.parse导致函数丢失。 需要通过获取实例$curChart后。通过this.$curChart.setOption来设置echart配置
好的,我试试,感谢 ------------------ 原始邮件 ------------------ 发件人: "Zhuyi731/echarts-for-wx-uniapp" <notifications@github.com>; 发送时间: 2020年10月20日(星期二) 上午9:48 收件人: "Zhuyi731/echarts-for-wx-uniapp"<echarts-for-wx-uniapp@noreply.github.com>; 抄送: "神龙摆尾"<742721238@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [Zhuyi731/echarts-for-wx-uniapp] 不支持formatter么? (#23)
我在echarts-for-weixin上测试是支持的呀
支持的,这个是因为uni-app在处理data对象时会使用json.stringify和json.parse导致函数丢失。 需要通过获取实例$curChart后。通过this.$curChart.setOption来设置echart配置
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
这个方法可行吗?
可以,返回的实例setOption就可以了
------------------ 原始邮件 ------------------ 发件人: "Zhuyi731/echarts-for-wx-uniapp" <notifications@github.com>; 发送时间: 2020年10月20日(星期二) 下午4:35 收件人: "Zhuyi731/echarts-for-wx-uniapp"<echarts-for-wx-uniapp@noreply.github.com>; 抄送: "神龙摆尾"<742721238@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [Zhuyi731/echarts-for-wx-uniapp] 不支持formatter么? (#23)
这个方法可行吗?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
我在echarts-for-weixin上测试是支持的呀