New structure

This commit is contained in:
Matthew Aaron Raymer
2022-12-14 17:06:16 +08:00
parent 0fa0936c59
commit c239906a96
12 changed files with 140 additions and 39 deletions

View File

@@ -115,7 +115,7 @@ router.beforeEach(async (to) => {
const isPublic = publicPages.includes(to.path);
const appStore = useAppStore();
let return_path = "/start";
console.log(isPublic);
if (isPublic) {
switch (appStore.condition) {
case "uninitialized":