From 121cff7c2bf18ff964850e18bbb6784ec4d08355 Mon Sep 17 00:00:00 2001 From: zhuhao <979263092@qq.com> Date: Wed, 15 Jan 2025 16:43:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=95=B0=E6=8D=AE=E5=B1=8F?= =?UTF-8?q?=E8=94=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/main.js b/src/renderer/src/main.js index 11bbad5..52fbcd5 100644 --- a/src/renderer/src/main.js +++ b/src/renderer/src/main.js @@ -56,7 +56,7 @@ VMdPreview.use(githubTheme, { }); (function () { - if (!['development', 'mock'].includes(process.env.NODE_ENV)&&import.meta.env.VITE_SHOW_DEV_TOOLS==='true') { + if (import.meta.env.VITE_SHOW_DEV_TOOLS==='false') { ['log', 'warn', 'error', 'info'].forEach((item) => { console[item] = (function (func) { const res = localStorage.getItem('debug');