空值判断
This commit is contained in:
@@ -104,7 +104,8 @@ export default function(type) {
|
|||||||
},
|
},
|
||||||
|
|
||||||
update(el) {
|
update(el) {
|
||||||
el[CONTEXT].scrollEventListener();
|
const context = el[CONTEXT];
|
||||||
|
context.scrollEventListener && context.scrollEventListener();
|
||||||
},
|
},
|
||||||
|
|
||||||
unbind(el) {
|
unbind(el) {
|
||||||
|
|||||||
Reference in New Issue
Block a user