//添加列表项的点击事件
this.mui(".mui-table-view").on("tap", "li", function(e) {
var id = this.getAttribute("id");
console.log(id);
//获取房间详情并弹出
this.mui(".bottomPopover").popover("toggle");
});
上面这种写法报错
this.mui is not a function
//添加列表项的点击事件
this.mui(".mui-table-view").on("tap", "li", function(e) {
var id = this.getAttribute("id");
console.log(id);
//获取房间详情并弹出
this.mui(".bottomPopover").popover("toggle");
});
上面这种写法报错
this.mui is not a function
0 个回复