// easyUI 添加Tabs 的方法
1.0首先在JS中添加此代码【注意不能添加到KaTeX parse error: Expected '}', got 'EOF' at end of input: … { if ((’#tt’).tabs(‘exists’, title)) {
$(’#tt’).tabs(‘select’, title);
} else {
var content = ‘’;
$(’#tt’).tabs(‘add’, {
title: title,
content: content,
closable: true
});
}
//2.0 布局一个 需要添加Tabs 的按钮
<button οnclick=“addTab(’@myli.ch_menu_name’,’@myli.url’)” name="@myli.url"class=“btn btn-lg btn-warning” type=“button”>@myli.ch_menu_name
//3.0 布局一个tabs框