From c55d9376565a78ce31a5b8d78dad89df16c2628e Mon Sep 17 00:00:00 2001
From: gaosp <gaosp>
Date: 星期四, 18 一月 2024 23:34:54 +0800
Subject: [PATCH] 删除完 更新

---
 src/container/home/index.vue |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/container/home/index.vue b/src/container/home/index.vue
index ffa85de..eaf7554 100644
--- a/src/container/home/index.vue
+++ b/src/container/home/index.vue
@@ -206,15 +206,12 @@
                     this.showSub = true
                 }
                 this.activeId = item.label || this.activeId
-                // if(item.pathName) {
-                //     this.$router.push({name: item.pathName,params: item.params,query: item.query})
-                // }
-            } else if (item.pathName && item.children && item.children.length === 0) {
+            } else if (item.pathName && item.children && item.children.length === 0) { //鐖惰彍鍗�
                 this.activeId = item.label || this.activeId
                 this.$router.push({name: item.pathName,params: item.params,query: item.query})
             } else if(item.pathName){ //浜岀骇鑿滃崟
                 this.$router.push({name: item.pathName,params: item.params,query: item.query})
-            } else if(item.href) {
+            } else if(item.href) {// 鎵撳紑鏂伴〉
                 window.open(item.href)
             }
         },

--
Gitblit v1.9.3