fix: 修复搜索高亮取值有时为空的问题
This commit is contained in:
@@ -1528,7 +1528,7 @@ export default class Parser {
|
|||||||
if (item.column && item.column.isFullText) {
|
if (item.column && item.column.isFullText) {
|
||||||
keywordList.push({ type: 'fullText', value: item.value.value })
|
keywordList.push({ type: 'fullText', value: item.value.value })
|
||||||
} else if (item.column && !item.column.isFullText) {
|
} else if (item.column && !item.column.isFullText) {
|
||||||
keywordList.push({ type: item.column.type, value: item.column.label })
|
keywordList.push({ type: item.column.type, value: item.value.value || item.column.label })
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user