详细问题描述
钉钉小程序有时候无法触发@click事件并报错
支付宝小程序无此问题,只有钉钉小程序会报错
重现步骤
运行到支付宝开发者工具并选择钉钉第三方个人应用
模拟器上点击设置了事件的view,结果报错
Error: triggerComponentEvent error: Cannot read property '$options' of undefined - eventName: __e - type: [object Function]
at PageComponent.triggerComponentEvent (af-appx.worker.ide.js:1058)
at PageComponent.onMessage (af-appx.worker.ide.js:1739)
at Object.fn (bridge.js:1)
at HTMLDocument.document.dispatchEvent (bridge.js:1)
at :1:10
setTimeout (async)
g.setTimeout @ af-appx.worker.ide.js:2581
s.(anonymous function) @ bridge.js:1
document.dispatchEvent @ bridge.js:1
(anonymous) @ VM142:1
WebFrame.(anonymous function) @ VM101 D:\Program Files\支付宝小程序开发者工具\resources\electron.asar\renderer\api\web-frame.js:56
electron.ipcRenderer.on @ VM83 D:\P