feat: add laravel.md #166 696b09de4e

This commit is contained in:
jaywcjlove
2022-11-22 05:32:09 +00:00
parent 984df5fdbf
commit 2fa789a379
5 changed files with 1607 additions and 4 deletions

View File

@ -132,7 +132,7 @@ function searchResult(value) {
}
let menuHTML = '';
result.forEach((item, idx) => {
const label = item.item.name.replace(getValueReg(value), (txt) => {
const label = (item.item.name || '').replace(getValueReg(value), (txt) => {
return `<mark>${txt}</mark>`;
})
const tags = (item.item.tags || []).join(',').replace(getValueReg(value), (txt) => {