【新增】 教师账号等专业根据服务器授权使用

This commit is contained in:
dlaren
2025-08-11 14:50:59 +08:00
parent ff82c544b2
commit 94396981fc
2 changed files with 13 additions and 8 deletions

View File

@@ -184,7 +184,7 @@ const open = async (type: string, id?: number) => {
formType.value = type
resetForm()
// 加载 Menu 列表。注意,必须放在前面,不然下面 setChecked 没数据节点
menuOptions.value = handleTree(await SpecialtyApi.getSpecialtyPart())
menuOptions.value = handleTree(await SpecialtyApi.getSpeciatListByTenantId())
// 修改时,设置数据
if (id) {