From 0d6e8d0d2a56c8af493e888891f346ae8e661a8e Mon Sep 17 00:00:00 2001 From: woody Date: Tue, 13 May 2025 11:05:10 +0800 Subject: [PATCH] =?UTF-8?q?fix(addMenuRole):=20=E6=9D=83=E9=99=90=E7=AE=A1?= =?UTF-8?q?=E7=90=86-=E4=BF=AE=E5=A4=8D=E5=BD=93=E6=9D=83=E9=99=90?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E4=BB=85=E6=9C=89=E4=B8=80=E7=BA=A7=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E7=82=B9=E5=87=BB=E6=8A=A5=E9=94=99=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/addMenuRole/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/system/addMenuRole/index.vue b/src/views/system/addMenuRole/index.vue index 98da488..7a3ed0e 100644 --- a/src/views/system/addMenuRole/index.vue +++ b/src/views/system/addMenuRole/index.vue @@ -543,7 +543,7 @@ export default { } else { this.menuAllList[index].changed = false this.menuAllList[index].checkArr = [] - this.menuAllList[index].children.forEach((item) => { + this.menuAllList[index].children && this.menuAllList[index].children.forEach((item) => { item.changed = false item.checkArr = [] if (item.children) {