From f79a917c19ee8c6e4e563f144994272d54049074 Mon Sep 17 00:00:00 2001 From: xy <2115269706@qq.com> Date: Fri, 14 Mar 2025 11:25:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E5=86=8C=E9=A1=B5=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E7=8F=AD=E7=BA=A7=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/loginPage.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/layout/loginPage.vue b/src/layout/loginPage.vue index aac478b..f8bcd9e 100644 --- a/src/layout/loginPage.vue +++ b/src/layout/loginPage.vue @@ -286,13 +286,15 @@ const props = { checkStrictly: true, emitPath: false, async lazyLoad(node: any, resolve: any) { + // console.log(node); + await getFacultiesList({ - primaryType: 'key', + primaryType: node.level + 1, pid: node.value, }) const nodes = FacultiesList.value.map((item: any) => ({ value: item.id, - label: item.title, + label: item.name, })) resolve(nodes) },