From e0390205f97847ae8e050873db51b619b7ebcc55 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期三, 12 七月 2023 14:41:41 +0800 Subject: [PATCH] 界面修改 --- src/components/navMenu.vue | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/components/navMenu.vue b/src/components/navMenu.vue index 76c4e0a..534ef32 100644 --- a/src/components/navMenu.vue +++ b/src/components/navMenu.vue @@ -31,6 +31,7 @@ <div class="secondMenuDiv subpage_Div" v-show="index == showFlag ? true :false" + v-if="item.children && item.children.length>0" > <div v-for="res in item.children" @@ -221,7 +222,7 @@ }, //榧犳爣绉诲叆鑿滃崟浜嬩欢 setMenuMove(index, item) { - + debugger if (item.perms != null && item.perms != "") { this.$router.push(item.url); if (this.showFlag != null) { @@ -229,8 +230,8 @@ this.changeliSelect = '%%'; this.showFlag = null; } - if (item.url == "Thematic") { - this.signInsertOpLog("缁煎悎灞曠ず", item.cnName) + if (item.url == "/projectController") { + this.signInsertOpLog("椤圭洰绠$悊", item.cnName) } this.changeSelectStyle = index; @@ -238,6 +239,12 @@ } else { if (this.showFlag != index) { this.showFlag = index; + this.changeSelectStyle = index; + + + if (item.url && item.children && item.children.length == 0) { + window.open(item.url) + } } else { this.showFlag = null; } @@ -333,7 +340,7 @@ if (res[i].perms == null || res[i].perms == "") { const result = await selectMenuRecursive({ id: res[i].id }); - + debugger if (result.code == 200) { res[i].children = result.result.filter((value) => { -- Gitblit v1.9.3