refactor(store): reset store on unmount and skip re-creating hooks on re-mount
This commit is contained in:
@@ -121,6 +121,7 @@ const el = ref<HTMLDivElement>()
|
||||
|
||||
onUnmounted(() => {
|
||||
dispose()
|
||||
$reset()
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user