Skip to content

Commit 18a27aa

Browse files
committed
chore: Delete console.log
1 parent 6965917 commit 18a27aa

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • chat2db-client/src/utils/IntelliSense

chat2db-client/src/utils/IntelliSense/table.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ const checkTableContext = (text) => {
2727
};
2828

2929
const handleInsertText = (keyword: string, tableName: string, databaseCode: DatabaseTypeCode) => {
30-
console.log('test', /^[\"\`\[]/.test(keyword));
3130
if (/^[\"\`\[]/.test(keyword)) {
3231
return tableName;
3332
}
34-
console.log('databaseCode', databaseCode);
33+
3534
return compatibleDataBaseName(tableName, databaseCode);
3635
};
3736

@@ -63,7 +62,6 @@ const registerIntelliSenseTable = (
6362
const match = lineContentUntilPosition.match(/\S+$/);
6463
const word = match ? match[0] : '';
6564

66-
console.log('触发提示的字符:', word);
6765
return {
6866
suggestions: (tableList || []).map((tableName) => {
6967
return {

0 commit comments

Comments
 (0)