From 4419b833280e106eb6d93f6ef789b31fb6358253 Mon Sep 17 00:00:00 2001 From: fanb-macbook-air <1916861581@qq.com> Date: Sun, 13 Oct 2024 18:51:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E2=80=9C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=96=87=E4=BB=B6=E6=9D=83=E9=99=90=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=89=80=E5=B1=9E=E7=94=A8=E6=88=B7=E5=92=8C?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=BB=84=E4=B8=8D=E6=98=BE=E7=A4=BA=E2=80=9D?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/host/file-management/batch-role/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/host/file-management/batch-role/index.vue b/frontend/src/views/host/file-management/batch-role/index.vue index dccceea0adb9..c144fa3b2812 100644 --- a/frontend/src/views/host/file-management/batch-role/index.vue +++ b/frontend/src/views/host/file-management/batch-role/index.vue @@ -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);