rename some binding hooks according to new names
This commit is contained in:
parent
4b630c3c36
commit
7b10e47b21
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue