vite-plugin-vconsole icon indicating copy to clipboard operation
vite-plugin-vconsole copied to clipboard

customHide参数的判断时机可以适当提前

Open nice-wwming opened this issue 1 year ago • 1 comments

我认为传递了customHide参数通常是不需要生成vconsole的,也就是不调用new VConsole,而不是通过使用vConsole.destroy()去销毁 当前vconsole使用destory会造成后续报错 Uncaught TypeError: Cannot read properties of undefined (reading 'update') at u2 (vconsole.min.js:10:91405) at e2._flushLogs (vconsole.min.js:10:91641) at vconsole.min.js:10:91147

nice-wwming avatar Sep 06 '23 02:09 nice-wwming

好!我研究一下!非常感谢建议!

vadxq avatar Sep 20 '23 06:09 vadxq