Browse Source

fix: 修复“修改文件权限时,文件所属用户和用户组不显示”问题 (#6698)

pull/6705/head
wild_pointer 1 month ago committed by GitHub
parent
commit
eb99c10ad0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      frontend/src/views/host/file-management/batch-role/index.vue

4
frontend/src/views/host/file-management/batch-role/index.vue

@ -81,8 +81,8 @@ const acceptParams = (props: BatchRoleProps) => {
addForm.paths.push(file.path); addForm.paths.push(file.path);
}); });
addForm.mode = Number.parseInt(String(props.files[0].mode), 8); addForm.mode = Number.parseInt(String(props.files[0].mode), 8);
addForm.group = props.files[0].group; addForm.group = props.files[0].group || props.files[0].gid;
addForm.user = props.files[0].user; addForm.user = props.files[0].user || props.files[0].uid;
addForm.sub = true; addForm.sub = true;
mode.value = String(props.files[0].mode); mode.value = String(props.files[0].mode);

Loading…
Cancel
Save