mirror of
https://github.com/bufanyun/hotgo.git
synced 2026-04-28 22:14:30 +08:00
用户操作权限增加角色权限过滤,优化角色/部门关系树生成,修复验证码空参数不验证问题
This commit is contained in:
@@ -439,15 +439,16 @@
|
||||
|
||||
async function loadDeptList() {
|
||||
const tmp = await getDeptList({});
|
||||
deptList.value = tmp?.list;
|
||||
if (deptList.value === undefined || deptList.value === null) {
|
||||
deptList.value = [];
|
||||
if (tmp.list) {
|
||||
deptList.value = tmp.list;
|
||||
}
|
||||
}
|
||||
|
||||
async function loadDataScopeSelect() {
|
||||
const option = await DataScopeSelect();
|
||||
dataScopeOption.value = option.list;
|
||||
if (option.list) {
|
||||
dataScopeOption.value = option.list;
|
||||
}
|
||||
}
|
||||
|
||||
function onUpdateValuePid(value: string | number) {
|
||||
|
||||
Reference in New Issue
Block a user