layui pearadmin 如何在子页面打开新的 Tab 标签页
var title = '回收站'; var url = '/admin/news/recycler'; top.layui.tab.addTabOnlyByElem("content",{id:Math.floor(Math.random()*10000),title:title,url:url,close:"允许关闭"});
var title = '回收站'; var url = '/admin/news/recycler'; top.layui.tab.addTabOnlyByElem("content",{id:Math.floor(Math.random()*10000),title:title,url:url,close:"允许关闭"});