refactor: 部门API路径同步修改

Former-commit-id: 815be0beaa6aa1c043d91582f7c7ed7fa45c1466
This commit is contained in:
horizon
2022-09-05 07:52:48 +08:00
parent f5cbf9d2bc
commit e73d6759ed
3 changed files with 29 additions and 29 deletions

View File

@@ -28,7 +28,7 @@ import {
exportUser,
importUser
} from '@/api/system/user';
import { listSelectDepartments } from '@/api/system/dept';
import { listDeptOptions } from '@/api/system/dept';
import { listRoleOptions } from '@/api/system/role';
// 组件依赖
@@ -358,7 +358,7 @@ function cancel() {
* 加载部门
*/
async function loadDeptOptions() {
listSelectDepartments().then(response => {
listDeptOptions().then(response => {
state.deptOptions = response.data;
});
}