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)
}
},
componentUpdated: (el, binding) => {
updated: (el, binding) => {
if (binding.oldValue === binding.value) {
return
}
@ -66,7 +66,7 @@ const directive = {
enableBodyScroll(el)
}
},
unbind: (el) => {
unmounted: (el) => {
enableBodyScroll(el)
}
}