fix. 코드 경고 수정

This commit is contained in:
clkim
2025-12-29 15:42:46 +09:00
parent 98280c0139
commit 61e1438ac1
5 changed files with 24 additions and 73 deletions

View File

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