Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit cdcfe25

Browse files
committed
Fix: redirect to install page
1 parent 84e4b05 commit cdcfe25

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/App.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ export default {
8686
}
8787
// If not installed, must route to /install
8888
if (statusInfo?.isInstall === false) {
89-
return router.push({ path: "/install" });
89+
this.loading = false;
90+
setTimeout(() => router.push({ path: "/install" }), 1200);
91+
return;
9092
}
9193
} catch (error) {
9294
alert(`Err: ${error}, Please refresh!`);

0 commit comments

Comments
 (0)