修改功能
deploy-userbase-front / build-and-deploy (push) Successful in 4m40s

This commit is contained in:
chenxing
2026-08-17 16:41:08 +08:00
parent 85619785f6
commit b96bbc9a62
5 changed files with 279 additions and 111 deletions
+3 -1
View File
@@ -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);
});
}