From 1d100868d755062854671a85f677530147ebeaed Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期二, 03 一月 2023 10:10:29 +0800 Subject: [PATCH] 包二ifream嵌套 --- src/views/Synthesis/index.vue | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/views/Synthesis/index.vue b/src/views/Synthesis/index.vue index 522141b..111b2f3 100644 --- a/src/views/Synthesis/index.vue +++ b/src/views/Synthesis/index.vue @@ -141,6 +141,7 @@ }, //鍒濆鍖栬彍鍗曟巿鏉� async getPermsMenu() { + if (this.$store.state.currentPerms == '') { this.$store.state.currentPerms = '/comprehensive'; } @@ -150,6 +151,7 @@ } var val = this.$store.state.currentPerms; var permsEntity = this.$store.state.permsEntity; + debugger for (var i = 0; i < permsEntity.length; i++) { if (permsEntity[i].perms == val) { this.showMenuChange(permsEntity[i], permsEntity); -- Gitblit v1.9.3