mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-20 00:00:27 +08:00
fix: 数据库提示问题修复
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user