From 5b041f37379c948e3d91f0e5acd2d7ee0e3c0b28 Mon Sep 17 00:00:00 2001 From: lienbaoagora <66240717+lienbaoagora@users.noreply.github.com> Date: Mon, 28 Oct 2024 16:59:04 +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 974430c..b6c6423 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.hash = "/"; + location.reload(); }; const onFinishFailed = (errorInfo: any) => {