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) },