fix: 修复实体搜索包含非连接符的and,由text转换到tag失败的问题

This commit is contained in:
刘洪洪
2023-08-30 10:44:58 +08:00
parent de82981da0
commit dc9b25fd58
4 changed files with 10 additions and 10 deletions

View File

@@ -792,7 +792,7 @@ export function handleOperatorSpace (operator) {
export function handleMetaListToStr (metaList) {
// 将模糊搜索的值转换为对应类型如1.1.1.1,则添加操作符,类型等,以便于后面的操作
metaList.forEach(item => {
if (item.column.type === 'fullText') {
if (item.column && item.column.type === 'fullText') {
item.operator.value = '='
item.value.value = item.column.label
item.value.label = item.column.label