mirror of
https://github.com/youzan/vant.git
synced 2026-01-29 01:15:18 +08:00
空值判断
This commit is contained in:
@@ -104,7 +104,8 @@ export default function(type) {
|
||||
},
|
||||
|
||||
update(el) {
|
||||
el[CONTEXT].scrollEventListener();
|
||||
const context = el[CONTEXT];
|
||||
context.scrollEventListener && context.scrollEventListener();
|
||||
},
|
||||
|
||||
unbind(el) {
|
||||
|
||||
Reference in New Issue
Block a user