html增加关闭标签页,easyui 在子页面使用按钮,关闭标签页/选项卡

原文链接:https://blog.csdn.net/weixin_39779530/article/details/118244250

目前看到有两种关闭方式,一种是关闭索引index,一种是通过名称title关闭。

需求:

easyUI 关闭tab页

方法:

$("#tt").tabs("close", title) 或者 $("#tt").tabs("close", index)

posted @ 2024-05-06 14:59  yinghualeihenmei  阅读(7)  评论(0编辑  收藏  举报