【修改】用户字段属性,新增类型字段用作判断管理员,教师,学生

This commit is contained in:
任维炳
2025-04-23 17:18:47 +08:00
committed by 陆光LG
parent b079ecf819
commit 6d60bfce76
3 changed files with 36 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ defineExpose({ validate, getData })
/** 获得专业-课程-题型树 */
const getTree = async () => {
specialtyTree.value = []
const data = await SpecialtyApi.getSpecialtyPage()
const data = await SpecialtyApi.getSpecialtyPart()
let dept: Tree = { id: 0, name: '专业-课程-题型', children: [] }
dept.children = handleTree(data)
specialtyTree.value.push(dept)