Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
Fix: redirect to install page
Browse files Browse the repository at this point in the history
  • Loading branch information
YuMao233 committed Aug 27, 2022
1 parent 84e4b05 commit cdcfe25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ export default {
}
// If not installed, must route to /install
if (statusInfo?.isInstall === false) {
return router.push({ path: "/install" });
this.loading = false;
setTimeout(() => router.push({ path: "/install" }), 1200);
return;
}
} catch (error) {
alert(`Err: ${error}, Please refresh!`);
Expand Down

0 comments on commit cdcfe25

Please sign in to comment.