小毛虫
小毛虫
  • 发布:2016-05-17 16:44
  • 更新:2016-05-18 10:11
  • 阅读:1059

pullrefresh_with_tab.html所有事件失效

分类:MUI
mui

为在demo中添加mui('.mui-table-view'').on('tap', '.mui-table-view-cell', function () {
console.log("aaaaaaa");
});
,点击列表的时候,没有触发事件。另外,在添加直接给li设置点击事件,也没有触发,所有的事件在pullrefresh_with_tab.html中失效。

2016-05-17 16:44 负责人:无 分享
已邀请:
badfl

badfl - mui详细文档:http://ask.dcloud.net.cn/article/1039

1.console.log("aaaaaaa");在plusready中才可以输出

  1. 检查程序是否有哪个括号弄错了。
  • 小毛虫 (作者)

    没用到H5+的API呢,纯web的,怎么整?

    2016-05-17 16:53

  • badfl

    放到mui.plusready中 输出试试

    2016-05-17 16:54

  • 小毛虫 (作者)

    你好,我已经放到mui.plusready中,同样没有作用。

    2016-05-17 17:02

BoredApe

BoredApe - 有问题就会有答案。

完整代码贴出了

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