Layui 实现tab页添加/修改保存后,关闭当前tab页并刷新理论父页面表格 发布时间:2023/10/11 /* 关闭tab页,刷新表格页面*/ function successTabCallback() { var topWindow = $(window.parent.document); var layId = $('.pagetabs', topWindow).find('.layui-this').attr('lay-id'); // console.log("layId==>" + layId) var $contentWindow = $('.layadmin-iframe[data-id="' + layId + '"]', topWindow)[0].contentWindow; $contentWindow.search(); }复制代码