From f5799ef47bd1cf3e4bb491fb32163feee146f984 Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Mon, 14 Oct 2024 22:52:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=80=E6=AC=A1=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E5=A4=9A=E4=B8=AA=E6=96=87=E4=BB=B6=20#183?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #183 --- src/renderer/src/pages/home/Inputbar/AttachmentButton.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/src/pages/home/Inputbar/AttachmentButton.tsx b/src/renderer/src/pages/home/Inputbar/AttachmentButton.tsx index 6d51565e..e31ef1e0 100644 --- a/src/renderer/src/pages/home/Inputbar/AttachmentButton.tsx +++ b/src/renderer/src/pages/home/Inputbar/AttachmentButton.tsx @@ -25,6 +25,7 @@ const AttachmentButton: FC = ({ model, files, setFiles, ToolbarButton }) } const _files = await window.api.file.select({ + properties: ['openFile', 'multiSelections'], filters: [ { name: 'Files',