Skip to content

Commit

Permalink
fix: 修复“修改文件权限时,文件所属用户和用户组不显示”问题 (#6698)
Browse files Browse the repository at this point in the history
  • Loading branch information
fanb129 authored and wanghe-fit2cloud committed Oct 14, 2024
1 parent da249a2 commit c5d007e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/views/host/file-management/batch-role/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c5d007e

Please sign in to comment.