From 31f5f3474f54f78b1098a081b153f6f9054b5c47 Mon Sep 17 00:00:00 2001 From: vagusx Date: Tue, 25 Jul 2023 15:45:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=9D=E5=AD=98=E6=88=90=E5=8A=9F?= =?UTF-8?q?=E5=90=8E=E6=94=B6=E8=B5=B7=E6=95=B4=E4=B8=AA=E5=89=AA=E8=97=8F?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E9=9D=A2=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/sandbox/SaveTo.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/sandbox/SaveTo.tsx b/src/pages/sandbox/SaveTo.tsx index 52c23286..11c0b7fc 100644 --- a/src/pages/sandbox/SaveTo.tsx +++ b/src/pages/sandbox/SaveTo.tsx @@ -257,6 +257,7 @@ const useViewModel = props => { const onSuccess = () => { setEditorValue([]); + setCurrentType(null); }; const onError = () => { @@ -351,6 +352,7 @@ const SaveTo = props => { onSelectType(e.target.value)} >