fix: sql执行器 获取sql bug

This commit is contained in:
刘宗洋
2022-10-31 22:24:24 +08:00
parent 74e5ee41fb
commit d7263f2b3c

View File

@@ -931,11 +931,6 @@ const changeDb = (db: string) => {
getSqlNames(); getSqlNames();
}; };
const addTableSuggestions = (tables: any[]) => {
}
// 选择表事件 // 选择表事件
const changeTable = async (tableName: string, execSelectSql: boolean = true) => { const changeTable = async (tableName: string, execSelectSql: boolean = true) => {
if (tableName == '') { if (tableName == '') {
@@ -1150,6 +1145,7 @@ const setCodermirrorValue = (value: string) => {
codemirror.setValue(value); codemirror.setValue(value);
}; };
/** /**
* 获取用户保存的sql模板名称 * 获取用户保存的sql模板名称
*/ */