fix(projects): 修复路由守卫的动态路由逻辑

This commit is contained in:
Soybean
2022-03-14 15:16:28 +08:00
parent 20911dd882
commit e6c26fcb4a
3 changed files with 12 additions and 5 deletions

View File

@ -28,6 +28,9 @@ export default function subscribeThemeStore() {
} else {
removeDarkClass();
}
},
{
immediate: true,
}
);