From 1e4ea2f8c3fd8268b3956d764b180cc0697c720a Mon Sep 17 00:00:00 2001 From: zhengkunwang223 <31820853+zhengkunwang223@users.noreply.github.com> Date: Wed, 10 May 2023 15:02:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=87=E4=BB=B6=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=90=8D=E7=A7=B0=E6=98=BE=E7=A4=BA=20(#985)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit resolve https://github.com/1Panel-dev/1Panel/issues/975 --- frontend/src/api/interface/file.ts | 1 + .../file-management/change-role/index.vue | 12 ++++++----- .../host/file-management/chown/index.vue | 5 ++++- .../file-management/code-editor/index.vue | 4 +++- .../host/file-management/compress/index.vue | 12 +++++------ .../host/file-management/decompress/index.vue | 2 +- .../host/file-management/detail/index.vue | 6 +++--- .../src/views/host/file-management/index.vue | 20 +++++++++---------- .../host/file-management/rename/index.vue | 4 ++-- 9 files changed, 37 insertions(+), 29 deletions(-) diff --git a/frontend/src/api/interface/file.ts b/frontend/src/api/interface/file.ts index 2d15d6201..0fd2fed37 100644 --- a/frontend/src/api/interface/file.ts +++ b/frontend/src/api/interface/file.ts @@ -55,6 +55,7 @@ export namespace File { isSymlink?: boolean; linkPath?: boolean; sub?: boolean; + name?: string; } export interface FileDelete { diff --git a/frontend/src/views/host/file-management/change-role/index.vue b/frontend/src/views/host/file-management/change-role/index.vue index 2174b6be7..46e6c8e38 100644 --- a/frontend/src/views/host/file-management/change-role/index.vue +++ b/frontend/src/views/host/file-management/change-role/index.vue @@ -1,7 +1,7 @@