fix: 执行lint
This commit is contained in:
@@ -23,7 +23,7 @@ import CodeMirror from 'codemirror'
|
||||
import { toRaw } from 'vue'
|
||||
import _ from 'lodash'
|
||||
import { columnType } from '@/components/advancedSearch/meta/meta'
|
||||
import {handleErrorTip} from "@/components/advancedSearch/meta/error";
|
||||
import { handleErrorTip } from '@/components/advancedSearch/meta/error'
|
||||
|
||||
export default {
|
||||
name: 'TextMode',
|
||||
|
||||
@@ -233,6 +233,7 @@ export default class Parser {
|
||||
break
|
||||
}
|
||||
} else if (s === ' ') {
|
||||
// 预留
|
||||
} else if (s === '(') {
|
||||
token = new Token(types.leftBracket, s)
|
||||
token.setStart(i)
|
||||
|
||||
@@ -4,7 +4,7 @@ import { riskLevelMapping } from '@/utils/constants'
|
||||
import _ from 'lodash'
|
||||
// 补全语句,用于解析
|
||||
const sqlPrev = 'select a from b where '
|
||||
export default class SqlParser/* extends SqlParserVisitor*/ {
|
||||
export default class SqlParser/* extends SqlParserVisitor */ {
|
||||
constructor (init, columnList) {
|
||||
// super()
|
||||
this.tempMeta = null
|
||||
|
||||
Reference in New Issue
Block a user