fix 遮罩和切换主题

This commit is contained in:
tangly1024.com
2023-06-07 17:03:53 +08:00
parent 4ad79ca7a2
commit 45c07959bf
2 changed files with 2 additions and 3 deletions

View File

@@ -26,8 +26,7 @@ const Index = props => {
const loadLayout = async () => {
setLayoutIndex(dynamic(() => import(`@/themes/${theme}/LayoutIndex`)))
}
console.log(loadLayout)
// loadLayout()
loadLayout()
}, [theme])
return <Suspense fallback={<Loading/>}>