mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-25 00:00:53 +00:00
fix: 修复“修改文件权限时,文件所属用户和用户组不显示”问题 (#6698)
This commit is contained in:
committed by
wanghe-fit2cloud
parent
da249a2cef
commit
c5d007e4dd
@@ -81,8 +81,8 @@ const acceptParams = (props: BatchRoleProps) => {
|
||||
addForm.paths.push(file.path);
|
||||
});
|
||||
addForm.mode = Number.parseInt(String(props.files[0].mode), 8);
|
||||
addForm.group = props.files[0].group;
|
||||
addForm.user = props.files[0].user;
|
||||
addForm.group = props.files[0].group || props.files[0].gid;
|
||||
addForm.user = props.files[0].user || props.files[0].uid;
|
||||
addForm.sub = true;
|
||||
|
||||
mode.value = String(props.files[0].mode);
|
||||
|
||||
Reference in New Issue
Block a user