fix: #306. At MainContainer, use cookie to determine instead of using pinia state

This commit is contained in:
Cindy Chang
2024-07-01 08:52:38 +08:00
parent 2a8826c962
commit 69a3f27cb2
4 changed files with 15 additions and 14 deletions

View File

@@ -48,17 +48,17 @@ const routes = [
name: "Files",
component: Files,
},
// {
// path: "/account",
// name: "Account Management",
// children: [
// {
// path: "/account/account-admin",
// name: "AcctAdmin",
// component: AccountAdmin,
// },
// ]
// },
{
path: "/account",
name: "Account Management",
children: [
{
path: "/account/account-admin",
name: "AcctAdmin",
component: AccountAdmin,
},
]
},
{
path: "/upload", // router.push({ replace: true }) 路徑不添進歷史紀錄
name: "Upload",