8***@qq.com
8***@qq.com
  • 发布:2016-12-08 11:32
  • 更新:2016-12-08 11:32
  • 阅读:1073

下拉刷新异常

分类:MUI

做了一个下拉刷新功能,在边改边看模式中运行正常,但在真机(安卓)中报错
Uncaught TypeError: undefined is not a function at todolist.html:187

        if (mui.os.plus) {  
            mui.plusReady(function() {  
                setTimeout(function() {  
                    mui('#pullrefresh').pullRefresh().pullupLoading();  
                }, 1000);  
            });  
        } else {  
            mui.ready(function() {  
                mui('#pullrefresh').pullRefresh().pullupLoading();  
            });  
        }  

报错行是:mui('#pullrefresh').pullRefresh().pullupLoading();
why?????

2016-12-08 11:32 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复