The layui parent page gets the table data of the child page

             var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
                               , submitID = 'LAY-user-front-submit' //弹框确定按钮
                               , submit = layero.find('iframe').contents().find('#' + submitID);//弹框确定按钮
                                //var body1 = layer.getChildFrame('body', index);
                            var checkStatus = iframeWindow.layui.table.cache["子页面表格id"];

 

Guess you like

Origin blog.csdn.net/qq_39313596/article/details/108450085
Recommended