feat: 搜索历史调整上限为30个

This commit is contained in:
chenjinsong
2022-01-26 18:13:40 +08:00
parent d019a975a5
commit aef5bc95c0
2 changed files with 19 additions and 6 deletions

View File

@@ -66,6 +66,9 @@ export default {
this.$emit('search')
}
},
focus () {
this.codeMirror.focus()
},
changeMode () {
const originalSql = this.codeMirror.getValue()
const parser = new SqlParser(originalSql, this.columnList)