From acebf48e2e139f6f298cfbba829cc3c29db3c891 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期三, 03 七月 2024 10:20:23 +0800
Subject: [PATCH] #

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

diff --git a/zy-asrs-admin/src/config.js b/zy-asrs-admin/src/config.js
index 4fa3870..6051ddd 100644
--- a/zy-asrs-admin/src/config.js
+++ b/zy-asrs-admin/src/config.js
@@ -4,12 +4,15 @@
     url: 'http://127.0.0.1:8081/wms',
     token: '',
     user: null,
-    locale: 'zhCN'
+    locale: 'zhCN',
+    currentHost: null,
 });
 
 export const logout = () => {
     globalState.token = null;
     globalState.user = null;
+    globalState.currentHost = null;
     localStorage.removeItem('token')
     localStorage.removeItem('user')
+
 }
\ No newline at end of file

--
Gitblit v1.9.1