【修改】 单词拼写错误

This commit is contained in:
dlaren
2025-08-30 20:32:47 +08:00
parent 1f798663ba
commit e7d8ec8470
3 changed files with 4 additions and 4 deletions

View File

@@ -50,6 +50,6 @@ export const setSpecialtyRole = async (data) => {
} }
// 查询专业列表 // 查询专业列表
export const getSpeciatListByTenantId = async () => { export const getSpecialtListByTenantId = async () => {
return await request.get({ url: '/system/user/getSpeciatListByTenantId' }) return await request.get({ url: '/system/user/getSpecialtListByTenantId' })
} }

View File

@@ -65,7 +65,7 @@ export const updateTeacher = (data: UserVO) => {
} }
// 通过账号类型判断专业授权等信息 // 通过账号类型判断专业授权等信息
export const getSpecialtyByUserId = () => { export const getSpecialtyByUserId = () => {
return request.get({ url: '/system/user/getSpeciatListByUser' }) return request.get({ url: '/system/user/getSpecialtListByUser' })
} }
// 删除用户 // 删除用户

View File

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