layui复杂表头列表添加重新加载事件

1、定义监听变量 

2、添加事件

  

table.reload('idTest', {
url: url,
where: { //设定异步数据接口的额外参数,任意设
type: 1
}
, page: {
curr: 1 //重新从第 1 页开始
}
}); //只重载数据

猜你喜欢

转载自www.cnblogs.com/shiguanghui/p/11392921.html