Skip to content

Commit e91aaf9

Browse files
committed
Remove console
1 parent c5416ad commit e91aaf9

File tree

5 files changed

+0
-5
lines changed

5 files changed

+0
-5
lines changed

chat2db-client/src/blocks/Setting/About/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export default function AboutUs(props: IProps) {
3535
};
3636

3737
const restartApp = () => {
38-
console.log(window.electronApi)
3938
window.electronApi?.quitApp();
4039
}
4140

chat2db-client/src/components/Console/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ function Console(props: IProps, ref: ForwardedRef<IConsoleRef>) {
158158
.then((res: any) => {
159159
const value = defaultValue || res?.[0]?.ddl || '';
160160
const oldValue = editorRef?.current?.getAllContent();
161-
console.log(value !== oldValue)
162161
if(value !== oldValue){
163162
editorRef?.current?.setValue(value, 'reset');
164163
}

chat2db-client/src/components/SearchResult/TableBox/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ export default function TableBox(props: ITableProps) {
234234
}
235235
});
236236
setTableData(newTableData);
237-
console.log(newTableData);
238237

239238
// 添加更新记录
240239
setUpdateData([

chat2db-client/src/pages/main/workspace/components/WorkspaceHeader/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ const localStorageWorkspaceDatabase = getCurrentWorkspaceDatabase();
3939
const WorkspaceHeader = memo<IProps>((props) => {
4040
const { connectionModel, workspaceModel, mainPageModel, dispatch } = props;
4141
const { connectionList, curConnection } = connectionModel;
42-
console.log(connectionList);
4342
const { curWorkspaceParams } = workspaceModel;
4443
const { curPage } = mainPageModel;
4544
const [cascaderLoading, setCascaderLoading] = useState(false);

chat2db-client/src/pages/main/workspace/components/WorkspaceRight/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ const WorkspaceRight = memo<IProps>((props: IProps) => {
319319
const id = uuidV4();
320320
let flag = false;
321321
workspaceTabList.forEach((t) => {
322-
console.log(t.uniqueData?.sql === sql)
323322
if (t.uniqueData?.sql === sql) {
324323
setActiveConsoleId(t.id);
325324
flag = true

0 commit comments

Comments
 (0)