fix. 서버 미들웨어, 미들웨어 수정

This commit is contained in:
clkim
2025-12-19 17:39:46 +09:00
parent 4ca299be4a
commit 1d936966ae
25 changed files with 592 additions and 798 deletions

View File

@@ -0,0 +1,10 @@
export default defineNuxtPlugin(() => {
const router = useRouter()
const modalStore = useModalStore()
router.beforeEach((to, from) => {
if (to.path !== from.path) {
modalStore.handleResetModalAll()
}
})
})