NervJS / taro-sample-weapp

与小程序原生融合的示例
161 stars 58 forks source link

Taro3 首页点击按钮跳转到 echarts 示例出错 #59

Closed RobertChaw closed 4 months ago

RobertChaw commented 2 years ago

首页能正常展示,可一旦跳转到echarts 示例就出错 image image

VM100 WAService.js:2 TypeError: t.addEventListener is not a function at ui (VM107 common.js:15) at xi.<anonymous> (VM107 common.js:15) at Array.forEach (<anonymous>) at d (VM107 common.js:15) at e (VM107 common.js:15) at new xi (VM107 common.js:15) at new xw (VM107 common.js:15) at _i (VM107 common.js:15) at new Vr (VM107 common.js:15) at Object.t.init (VM107 common.js:15)(env: Windows,mp,1.05.2109131; lib: 2.20.2)

XionGuo37 commented 2 years ago

我也是

gowago commented 2 years ago

同求

webber007 commented 1 year ago

同样的错。。。

link-zh commented 12 months ago

添加一个空方法在wx-canvas.js中就不报错了

// wx-canvas.js
export default class WxCanvas {
    // xxxx
    addEventListener() {}
}