This commit is contained in:
EFL
2024-07-13 20:39:47 +08:00
parent 31221d2372
commit c7518deef1

View File

@@ -67,7 +67,7 @@ export const getLayoutByTheme = ({ router, theme }) => {
} else { } else {
setTimeout(() => { setTimeout(() => {
checkThemeDOM() checkThemeDOM()
}, 1000) }, 100)
const components = const components =
ThemeComponents[getLayoutNameByPath(router.pathname, router.asPath)] ThemeComponents[getLayoutNameByPath(router.pathname, router.asPath)]
if (components) { if (components) {