From 2ba20a79dacdbde2d7fd2ebc1fc45ed9bbd8bcbd Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 13 十一月 2025 11:58:27 +0800
Subject: [PATCH] 最新版本541200007

---
 admin/src/components/common/CommonHeader.vue |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/admin/src/components/common/CommonHeader.vue b/admin/src/components/common/CommonHeader.vue
index 7b28a6b..7ec3d76 100644
--- a/admin/src/components/common/CommonHeader.vue
+++ b/admin/src/components/common/CommonHeader.vue
@@ -112,6 +112,18 @@
     if (this.userInfo && (!this.userInfo.needChangePwd || this.userInfo.needChangePwd == '0')) {
       this.visible.changePwd = true
     }
+    const queryParams = new URLSearchParams(window.location.search);
+    const param1 = queryParams.get('topmenu');
+    console.log("============================param1=",param1,queryParams)
+    var that = this
+    if(param1 && this.topMenuList){
+      this.topMenuList.list.forEach((item,index)=>{
+        if(item.params && item.params === param1){
+          that.getHeaderNav(item,index)
+        }
+      })
+    }
+
   },
   filters: {
     // 灞曠ず鍚嶇О

--
Gitblit v1.9.3