From 91f291a2c3b4e41fc0b44f2395ad5c956803ee8c Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期六, 11 五月 2024 08:34:24 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override
---
north-glass-erp/northglass-erp/src/layout/MainErpView.vue | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/layout/MainErpView.vue b/north-glass-erp/northglass-erp/src/layout/MainErpView.vue
index 1271591..86a58c2 100644
--- a/north-glass-erp/northglass-erp/src/layout/MainErpView.vue
+++ b/north-glass-erp/northglass-erp/src/layout/MainErpView.vue
@@ -17,6 +17,7 @@
const router = useRouter()
const userStore = useUserInfoStore()
const user = userStore.user.userName
+//鐩戝惉寮傛杩斿洖浠g爜
watch(()=>userStore.responseCode,(newVal) => {
switch (newVal){
case 401:{
@@ -41,6 +42,8 @@
)
store.createWebSocket();
+
+// 閫�鍑虹櫥褰�
function quit(){
userStore.$patch({
user:null
@@ -59,7 +62,6 @@
let menuList=$ref([])
onMounted(()=>{
request.get(`/menu/getMenu/${lang}`).then((res) => {
-
if(res.code==200){
menuList= deepClone(res.data)
}
--
Gitblit v1.8.0