From ebb799023c65772f06bb6efb3b55848df7f149e2 Mon Sep 17 00:00:00 2001 From: yxsj245 <17737475682@163.com> Date: Fri, 2 Jan 2026 11:03:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/pages/FileManagerPage.tsx | 41 +++++++++++++++++----------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/client/src/pages/FileManagerPage.tsx b/client/src/pages/FileManagerPage.tsx index ff46083..368b546 100644 --- a/client/src/pages/FileManagerPage.tsx +++ b/client/src/pages/FileManagerPage.tsx @@ -1443,22 +1443,31 @@ const FileManagerPage: React.FC = () => { {/* 操作按钮 */} - - - - - - + , + label: '新建文件夹', + onClick: () => setCreateDialog({ visible: true, type: 'folder' }) + }, + { + key: 'file', + icon: , + label: '新建文件', + onClick: () => setCreateDialog({ visible: true, type: 'file' }) + } + ] + }} + trigger={['click']} + > + + + +