fix: 修复实体搜索框text模式下点击top后表达式错误的问题、修复分页bug
This commit is contained in:
@@ -88,7 +88,7 @@ export default {
|
||||
return column.name === key
|
||||
})
|
||||
let current = this.codeMirror.getValue()
|
||||
current = `${key}=${(column.type === columnType.string ? stringInQuot(params[key]) : params[key])} ${current ? 'AND' : ''} ${current}`
|
||||
current = `${current ? current + 'AND ' : ''}${key}=${(column.type === columnType.string ? stringInQuot(params[key]) : params[key])}`
|
||||
toRaw(this.codeMirror).setValue(current)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user