From 3e1aca79a1fd4900d1ab05b62a692ea9806bca14 Mon Sep 17 00:00:00 2001 From: lienbaoagora <66240717+lienbaoagora@users.noreply.github.com> Date: Mon, 28 Oct 2024 17:05:09 +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 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) => {