From 9d8f1ecf0dcdf7de5fe9db39a125540640d83a25 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期二, 16 七月 2024 15:35:53 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override
---
north-glass-erp/northglass-erp/src/layout/MainErpView.vue | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/layout/MainErpView.vue b/north-glass-erp/northglass-erp/src/layout/MainErpView.vue
index 6fd1acf..63e29c5 100644
--- a/north-glass-erp/northglass-erp/src/layout/MainErpView.vue
+++ b/north-glass-erp/northglass-erp/src/layout/MainErpView.vue
@@ -64,12 +64,16 @@
//鎻愬彇妯″潡鍒楄〃
let menuList=$ref([])
-onMounted(()=>{
- request.get(`/menu/getMenu/${lang}`).then((res) => {
+onMounted(async ()=>{
+ await request.get(`/menu/getMenu/${lang}`).then((res) => {
if(res.code==200){
menuList= deepClone(res.data)
}
})
+
+ if(userStore.user.address!==null){
+ router.push({path:'/main/reportingWorks/addReportingWork'})
+ }
})
@@ -98,9 +102,7 @@
{deep:true}
)
-router.beforeEach((to, from) => {
- //return false
-})
+
let openFlag = $ref(null)
--
Gitblit v1.8.0