refactor: 部门API路径同步修改
Former-commit-id: 815be0beaa6aa1c043d91582f7c7ed7fa45c1466
This commit is contained in:
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user