From 4a18bcabe2aa571b4f23a1182a8f06b9f9ce7011 Mon Sep 17 00:00:00 2001 From: whyour Date: Thu, 2 Feb 2023 13:17:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A7=BB=E5=8A=A8=E7=AB=AF?= =?UTF-8?q?=E6=96=B0=E5=BB=BA=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/script/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/script/index.tsx b/src/pages/script/index.tsx index 5751eec6..1046904b 100644 --- a/src/pages/script/index.tsx +++ b/src/pages/script/index.tsx @@ -387,7 +387,7 @@ const Script = () => { const menuAction = (key: string | number) => { switch (key) { - case 'save': + case 'add': addFile(); break; case 'edit':