rename some binding hooks according to new names

This commit is contained in:
Henry Jameson 2022-03-28 23:54:30 +03:00
parent 4b630c3c36
commit 7b10e47b21

View File

@ -55,7 +55,7 @@ const directive = {
disableBodyScroll(el) disableBodyScroll(el)
} }
}, },
componentUpdated: (el, binding) => { updated: (el, binding) => {
if (binding.oldValue === binding.value) { if (binding.oldValue === binding.value) {
return return
} }
@ -66,7 +66,7 @@ const directive = {
enableBodyScroll(el) enableBodyScroll(el)
} }
}, },
unbind: (el) => { unmounted: (el) => {
enableBodyScroll(el) enableBodyScroll(el)
} }
} }