mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
空值判断
This commit is contained in:
parent
b207efe729
commit
832223156f
@ -104,7 +104,8 @@ export default function(type) {
|
||||
},
|
||||
|
||||
update(el) {
|
||||
el[CONTEXT].scrollEventListener();
|
||||
const context = el[CONTEXT];
|
||||
context.scrollEventListener && context.scrollEventListener();
|
||||
},
|
||||
|
||||
unbind(el) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user