feat: clean urls

This commit is contained in:
camera-2018
2023-08-19 11:49:08 +08:00
parent 850a692f4e
commit 36e4f30ee4
4 changed files with 6 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ export default {
watch(
() => ctx.router.route.data.relativePath,
() => updateHomePageStyle(location.pathname === '/' || location.pathname === '/contributors.html'),
() => updateHomePageStyle(location.pathname === '/' || location.pathname === '/contributors'),
{ immediate: true },
)
},