From b04a46d352612798453b8428315a10df076e8cc1 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期四, 04 七月 2024 13:47:17 +0800
Subject: [PATCH] #

---
 zy-asrs-admin/src/main.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/zy-asrs-admin/src/main.js b/zy-asrs-admin/src/main.js
index 02a017d..e082ae3 100644
--- a/zy-asrs-admin/src/main.js
+++ b/zy-asrs-admin/src/main.js
@@ -17,7 +17,9 @@
         let locale = localStorage.getItem('locale')
         globalState.token = token;
         globalState.user = user;
-        globalState.locale = locale;
+        if(locale != null) {
+            globalState.locale = locale;
+        }
     }
 }
 

--
Gitblit v1.9.1