diff --git a/examples/web/src/pages/settings/index.tsx b/examples/web/src/pages/settings/index.tsx index ca8770f..974430c 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.href = location.origin + "/"; + location.hash = "/"; }; const onFinishFailed = (errorInfo: any) => {