mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
fix(Lazyload): directive update is removed
This commit is contained in:
@@ -26,8 +26,7 @@ export const Lazyload = {
|
||||
|
||||
app.directive('lazy', {
|
||||
beforeMount: lazy.add.bind(lazy),
|
||||
update: lazy.update.bind(lazy),
|
||||
updated: lazy.lazyLoadHandler.bind(lazy),
|
||||
updated: lazy.update.bind(lazy),
|
||||
unmounted: lazy.remove.bind(lazy),
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user