在method中增加一个空的toJson()方法。这样就不报错了。 具体原因我也在调查。
使用uni开发小程序,引用echarts报以下错误,可有解答?TypeError: Converting circular structure to JSON --> starting at object with constructor 'Xl' | property '_dom' -> object with constructor 'WxCanvas' --- property 'chart' closes the circle at JSON.stringify () at VueComponent.updateDataToMP [as $updateDataToMP] (index.js:5535) at VueComponent.patch [as __patch__] (index.js:4993) at VueComponent.Vue._update (index.js:2109) at VueComponent.updateComponent (index.js:2202) at Watcher.get (index.js:2523) at Watcher.run (index.js:2601) at flushSchedulerQueue (index.js:2374) at Array. (index.js:683) at nextTickHandler (index.js:627)
2020-10-12