fix. 코드 리팩토링
This commit is contained in:
@@ -6,7 +6,7 @@ export default defineNuxtRouteMiddleware(to => {
|
||||
if (to.path.includes('/error')) return
|
||||
|
||||
// inspection 페이지는 실행X -----
|
||||
if (to.path.includes('inspection')) return
|
||||
if (to.path.includes('/inspection')) return
|
||||
|
||||
const gameDataStore = useGameDataStore()
|
||||
const { langCodes, intro } = storeToRefs(gameDataStore)
|
||||
|
||||
@@ -14,7 +14,7 @@ export default defineNuxtRouteMiddleware(async (to, _from) => {
|
||||
if (to.path.includes('/error')) return
|
||||
|
||||
// inspection 페이지는 실행X -----
|
||||
if (to.path.includes('inspection')) return
|
||||
if (to.path.includes('/inspection')) return
|
||||
|
||||
const gameDataStore = useGameDataStore()
|
||||
const pageDataStore = usePageDataStore()
|
||||
|
||||
Reference in New Issue
Block a user