Fix: Fix page transition & improve active handling

Fix: Fix current route parsing
This commit is contained in:
Nelson Chan
2021-11-04 22:12:52 +08:00
parent 369cad90c1
commit 1a218aaa17
2 changed files with 42 additions and 48 deletions

View File

@@ -71,37 +71,30 @@ const routes = [
{
path: "general",
alias: "",
name: "settings-general",
component: General,
},
{
path: "appearance",
name: "settings-appearance",
component: Appearance,
},
{
path: "notifications",
name: "settings-notifications",
component: Notifications,
},
{
path: "monitor-history",
name: "settings-monitorHistory",
component: MonitorHistory,
},
{
path: "security",
name: "settings-security",
component: Security,
},
{
path: "backup",
name: "settings-backup",
component: Backup,
},
{
path: "about",
name: "settings-about",
component: About,
},
]