From 816c2c376879bb61472b7dca1e21bce274bcebfb Mon Sep 17 00:00:00 2001 From: liaozetao <1107136310@qq.com> Date: Tue, 26 Sep 2023 18:15:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8F=9C=E5=8D=95=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/maintainer/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/maintainer/index.vue b/src/components/maintainer/index.vue index 6228469..de1af16 100644 --- a/src/components/maintainer/index.vue +++ b/src/components/maintainer/index.vue @@ -139,7 +139,9 @@ export default { parentIds.push(v.id); }); } + console.log(parentIds); this.parentMenus = store.getters.parentMenus.filter(v1 => parentIds.filter(v2 => v1.id == v2).length > 0); + this.childMenus = store.getters.childMenus.filter(v1 => parentIds.filter(v2 => v1.parentid == v2).length > 0); } } },