From 922b11a2d713647d865ab8dcad7f51dce4160ddf Mon Sep 17 00:00:00 2001 From: lienbaoagora <66240717+lienbaoagora@users.noreply.github.com> Date: Mon, 28 Oct 2024 17:01:37 +0800 Subject: [PATCH] Update index.tsx --- examples/web/src/pages/settings/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/web/src/pages/settings/index.tsx b/examples/web/src/pages/settings/index.tsx index b6c6423..ab481f3 100644 --- a/examples/web/src/pages/settings/index.tsx +++ b/examples/web/src/pages/settings/index.tsx @@ -27,7 +27,7 @@ const Settings = () => { Toast.show({ content: "保存成功", }); - location.reload(); + history.back(); }; const onFinishFailed = (errorInfo: any) => {