mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-26 03:16:35 +08:00
空值判断
This commit is contained in:
parent
b207efe729
commit
832223156f
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user