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']} + > + + + +