feat: 搜索框(全文搜索,缺搜索历史)

This commit is contained in:
chenjinsong
2022-01-25 22:58:23 +08:00
parent a1e3d88b96
commit 1169d8a2cc
5 changed files with 62 additions and 23 deletions

View File

@@ -448,8 +448,9 @@ export default {
}
// 带参数时只查询对应类型的entity不带参数时3种entity都查
if (formatSql) {
// entity_type处理不查其他两种entity_type对应的左侧筛选
const entityTypeMeta = metaList.find(meta => {
return meta.column && meta.column === 'entity_type'
return meta.column && meta.column.name === 'entity_type'
})
if (entityTypeMeta) {
let entityType = ''