feat: 数据库表数据支持字段设置、表格宽度自适应调整

This commit is contained in:
meilin.huang
2023-06-29 11:49:14 +08:00
parent 1bc53b4c80
commit d9807b1bf0
8 changed files with 138 additions and 92 deletions

View File

@@ -517,7 +517,7 @@ const registerSqlCompletionItemProvider = () => {
},
kind: monaco.languages.CompletionItemKind.Property,
detail: '', // 不显示detail, 否则选中时备注等会被遮挡
insertText: fieldName + ' ', // create_time
insertText: fieldName, // create_time
range,
sortText: 100 + index + '' // 使用表字段声明顺序排序,排序需为字符串类型
});