使用vue-codemirror插件遇到的问题

789 阅读1分钟

使用vue-codemirror插件,在选中代码时报错‘ Unable to preventDefault inside passive event listener invocation’,后面发现是因为引入了default-passive-events包,而引发的错误,删掉包后就ok了。