【修改】 单词拼写错误
This commit is contained in:
@@ -50,6 +50,6 @@ export const setSpecialtyRole = async (data) => {
|
||||
}
|
||||
|
||||
// 查询专业列表
|
||||
export const getSpeciatListByTenantId = async () => {
|
||||
return await request.get({ url: '/system/user/getSpeciatListByTenantId' })
|
||||
export const getSpecialtListByTenantId = async () => {
|
||||
return await request.get({ url: '/system/user/getSpecialtListByTenantId' })
|
||||
}
|
||||
|
@@ -65,7 +65,7 @@ export const updateTeacher = (data: UserVO) => {
|
||||
}
|
||||
// 通过账号类型判断专业授权等信息
|
||||
export const getSpecialtyByUserId = () => {
|
||||
return request.get({ url: '/system/user/getSpeciatListByUser' })
|
||||
return request.get({ url: '/system/user/getSpecialtListByUser' })
|
||||
}
|
||||
|
||||
// 删除用户
|
||||
|
@@ -184,7 +184,7 @@ const open = async (type: string, id?: number) => {
|
||||
formType.value = type
|
||||
resetForm()
|
||||
// 加载 Menu 列表。注意,必须放在前面,不然下面 setChecked 没数据节点
|
||||
menuOptions.value = handleTree(await SpecialtyApi.getSpeciatListByTenantId())
|
||||
menuOptions.value = handleTree(await SpecialtyApi.getSpecialtListByTenantId())
|
||||
|
||||
// 修改时,设置数据
|
||||
if (id) {
|
||||
|
Reference in New Issue
Block a user