diff --git a/examples/web/src/pages/settings/index.tsx b/examples/web/src/pages/settings/index.tsx index ab481f3..82138db 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: "保存成功", }); - history.back(); + location.href = location.origin + location.pathname; }; const onFinishFailed = (errorInfo: any) => {