update timeout

This commit is contained in:
EFL
2024-07-13 20:37:02 +08:00
parent eb192f459e
commit 31221d2372

View File

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