若依 父子表
1.生成代码引入项目后
2. 首先 处理html代码,在下面js里加入 以下代码到图中位置
detailView: true,
onExpandRow: function (index, row, $detail) {
initChildTable(index, row, $detail);
},
3.在插入
initChildTable = function (index, row, $detail) {
var childTable = $detail.html('&l.
原创
2020-05-14 13:22:17 ·
7671 阅读 ·
2 评论