layui 前端UI框架 1、获取点击行的索引 参考博客:https://fly.layui.com/jie/25008/ 2、在初始化加载表格时附加其他参数 3、点击行操作,获取数据, var data = obj.data;