diff --git a/src/renderer/src/main.js b/src/renderer/src/main.js index 52fbcd5..ed69fbe 100644 --- a/src/renderer/src/main.js +++ b/src/renderer/src/main.js @@ -56,6 +56,7 @@ VMdPreview.use(githubTheme, { }); (function () { + //!['development', 'mock'].includes(process.env.NODE_ENV)&& if (import.meta.env.VITE_SHOW_DEV_TOOLS==='false') { ['log', 'warn', 'error', 'info'].forEach((item) => { console[item] = (function (func) {