link

Results 3 comments of link
trafficstars

同问,有没有解决方案

> Hi I got this too, using vite; adding "quill" to the vite configuration's `optimizeDeps` seems to fix it, i.e. > > ``` > defineConfig({optimizeDeps: ["quill"]}) > ``` > >...

添加一个空方法在wx-canvas.js中就不报错了 ```javascript // wx-canvas.js export default class WxCanvas { // xxxx addEventListener() {} } ```