自定义指令
bind 函数在指令绑定到元素上时调用
inserted :被绑定的元素插入到DOM上时执行
update: 在更新完成之前执行
componentUpdated:更新完成时执行
unbind :指令与元素解绑时
Last updated
Was this helpful?
bind 函数在指令绑定到元素上时调用
inserted :被绑定的元素插入到DOM上时执行
update: 在更新完成之前执行
componentUpdated:更新完成时执行
unbind :指令与元素解绑时
Last updated
Was this helpful?