From 4695066e111dd965d8b0a28b220cb5994f84067c Mon Sep 17 00:00:00 2001 From: vFeng <1914007838@qq.com> Date: Mon, 27 Jan 2025 06:33:37 +0000 Subject: [PATCH] =?UTF-8?q?[fix]=E4=BF=AE=E5=A4=8D=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E6=97=A0=E9=9C=80=E6=A0=A1=E9=AA=8C=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E7=89=88=E6=9C=ACbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: vFeng <1914007838@qq.com> --- web/src/utils/upgrade.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/utils/upgrade.ts b/web/src/utils/upgrade.ts index 19906cf..60c10f2 100644 --- a/web/src/utils/upgrade.ts +++ b/web/src/utils/upgrade.ts @@ -26,7 +26,7 @@ export function showUpgrade() { // 生产环境前端版本校验, export async function checkVersion() { - if (META_ENV.NODE_ENV === 'development') { + if (META_ENV.MODE === 'development') { // 开发环境无需校验前端版本 return; }