var pageIndex = 1,type = 2;
mui.init({
pullRefresh: {
container: '#pullrefresh',
up: {
contentrefresh: '正在加载...',
callback: pullupRefresh(pageIndex,type)
}
}
});
function pullupRefresh(pageIndex,type) {
.....//业务代码
}
这样会直接报错: Cannot read property 'classList' of undefined
0 个回复