From 48dea3b63c809a44cd35833aedc56c0845f8d80b Mon Sep 17 00:00:00 2001 From: Super12138 <70494801+Super12138@users.noreply.github.com> Date: Thu, 29 Aug 2024 13:00:15 +0800 Subject: [PATCH] Fix the path error --- src/utils/notices.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/notices.ts b/src/utils/notices.ts index baf6d09..ee0aae8 100644 --- a/src/utils/notices.ts +++ b/src/utils/notices.ts @@ -30,7 +30,7 @@ export function showClearAllDataDialog() { cancelText: "取消", onConfirm: () => { clearStorage(); - window.location.href = '/'; + window.location.reload(); return true; }, onCancel: () => true