fix: 数据库提示问题修复

This commit is contained in:
meilin.huang
2023-06-20 17:08:13 +08:00
parent a53e7e7dab
commit 414de9f2eb
4 changed files with 5 additions and 5 deletions

View File

@@ -495,7 +495,7 @@ const registerSqlCompletionItemProvider = () => {
const secondToken = tokens.length > 2 && tokens[tokens.length - 2].toLowerCase() || ''
// const dbs = nowTab.params?.dbs?.split(' ') || [];
const dbs = db ? [db] : [];
const dbs = nowTab.params && nowTab.params.dbs && nowTab.params.dbs.split(' ') || [];
// console.log("光标前文本:=>" + textBeforePointerMulti)
// console.log("最后输入的:=>" + lastToken)