mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-06-16 20:21:22 +08:00
feat: add laravel.md #166
This commit is contained in:
@ -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) => {
|
||||
|
Reference in New Issue
Block a user