refactor: 优化 bootstrap-table 工具栏性能

#Commnet
高级查询按钮逻辑内置于启用搜索功能后
This commit is contained in:
Argo Zhang 2020-01-18 21:59:21 +08:00
parent 863eb5ef09
commit f493ce3f64
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 29 additions and 29 deletions

View File

@ -516,7 +516,6 @@
title: '<div class="search-input-tooltip">输入任意字符串全局搜索 </br> <kbd>Enter</kbd> 搜索 <kbd>ESC</kbd> 清除搜索</div>',
html: true
});
}
// 生成高级查询按钮
if (settings.showAdvancedSearchButton) {
@ -549,6 +548,7 @@
else $advancedSearchButtonHtml.removeClass('btn-primary').addClass('btn-secondary');
});
}
}
// fix bug 移除 Toolbar 按钮 Title 中的 Html
$('.bootstrap-table .fixed-table-toolbar button[title]').each(function (index, element) {