From 5efb25463fb6a6825ab8c85b880815af32d37515 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期六, 11 五月 2024 16:38:06 +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 |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/layout/MainErpView.vue b/north-glass-erp/northglass-erp/src/layout/MainErpView.vue
index 650259f..86a58c2 100644
--- a/north-glass-erp/northglass-erp/src/layout/MainErpView.vue
+++ b/north-glass-erp/northglass-erp/src/layout/MainErpView.vue
@@ -17,11 +17,12 @@
 const router = useRouter()
 const userStore = useUserInfoStore()
 const user = userStore.user.userName
+//鐩戝惉寮傛杩斿洖浠g爜
 watch(()=>userStore.responseCode,(newVal) => {
     switch (newVal){
       case 401:{
         if(userStore.msg.split('.')[1] === 'search'){
-          router.push({path:'/main/order/notPermission'});
+          router.push({path:'/main/user/notPermission'});
         }else{
           ElMessage.warning(t('error.Code_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