+
-
+
We Can't Seem to Find The Page You're Looking For.
-
+
Oops! The page you are looking for does not exist. It might have
been moved or deleted.
Go To Home
diff --git a/themes/landing-2/style.js b/themes/starter/style.js
similarity index 73%
rename from themes/landing-2/style.js
rename to themes/starter/style.js
index a471f366..c176c16d 100644
--- a/themes/landing-2/style.js
+++ b/themes/starter/style.js
@@ -7,7 +7,7 @@
*/
const Style = () => {
return
}
diff --git a/themes/theme.js b/themes/theme.js
index ddb30a77..e14a7a32 100644
--- a/themes/theme.js
+++ b/themes/theme.js
@@ -8,7 +8,6 @@ export const { THEMES = [] } = getConfig().publicRuntimeConfig
/**
* 加载全局布局
- * 如果是
* @param {*} themeQuery
* @returns
*/
@@ -39,7 +38,7 @@ export const getLayoutByTheme = ({ router, theme }) => {
setTimeout(() => {
checkThemeDOM()
}, 100);
- return ThemeComponents[ThemeComponents.getLayoutNameByPath('-1')]
+ return ThemeComponents[ThemeComponents.getLayoutNameByPath(router.pathname)]
}
}