feat: add laravel.md #166

This commit is contained in:
jaywcjlove
2022-11-22 13:30:48 +08:00
parent 8f76b47096
commit 696b09de4e
4 changed files with 1843 additions and 1 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) => {