Skip to content

Commit

Permalink
Fix the path error
Browse files Browse the repository at this point in the history
  • Loading branch information
Super12138 committed Aug 29, 2024
1 parent 60aec64 commit 48dea3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/notices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function showClearAllDataDialog() {
cancelText: "取消",
onConfirm: () => {
clearStorage();
window.location.href = '/';
window.location.reload();
return true;
},
onCancel: () => true
Expand Down

0 comments on commit 48dea3b

Please sign in to comment.