Archived
forked from admin/userbase
This commit is contained in:
@@ -257,7 +257,9 @@ function showAddUser() {
|
||||
/* ================= 编辑 ================= */
|
||||
const editRef = ref();
|
||||
function handleEdit(row: any) {
|
||||
editRef.value?.open(row, groupOptions.value, () => {
|
||||
// 当前点击所在的组(SysUserVo 不含 groupId,故以左侧选中节点为准,供"所在组"只读展示并默认选中)
|
||||
const curGroupId = selectedNode.value?.id ?? null;
|
||||
editRef.value?.open(row, groupOptions.value, curGroupId, () => {
|
||||
tableRef.value?.reloadData(OperatorEnum.edit);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user