Pre Merge pull request !426 from Break/N/A

pull/426/MERGE
Break 2024-03-27 02:59:23 +00:00 committed by Gitee
commit 7f71208685
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ define(['jquery', 'bootstrap', 'backend', 'addtabs', 'adminlte', 'form'], functi
if (val != '') {
$("ul.sidebar-menu li a[addtabs]:not([href^='javascript:;'])").each(function () {
if ($("span:first", this).text().indexOf(val) > -1 || $(this).attr("py").indexOf(val) > -1 || $(this).attr("pinyin").indexOf(val) > -1) {
html.push('<a data-url="' + $(this).attr("href") + '" href="javascript:;">' + $("span:first", this).text() + '</a>');
html.push('<a data-url="' + $(this).attr("href") + '" href="javascript:;"><i class="'+ $('i:first', this).attr("class") +'"></i>' + $("span:first", this).text() + '</a>');
if (html.length >= 100) {
return false;
}