//搜索
var tb_this;
form.on('submit(search_btn)', function(data) {
if (tb_this!= null) {
tb_this.where = {}; //置空where
}
book_tb.reload({ //book_tb是table的实例
url: '',
where: data.field,
page: {
curr: 1
},
done: function() {
tb_this= this;
}
});
return false;
});
layui table where 缓存解决
最新推荐文章于 2022-06-06 11:15:57 发布