Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit85f690f

Browse files
committed
remove console log
1 parentdc6c5b9 commit85f690f

File tree

5 files changed

+1
-33
lines changed

5 files changed

+1
-33
lines changed

‎client/packages/lowcoder/src/comps/comps/tableLiteComp/parts/TableContainer.tsx‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,6 @@ export const TableContainer: React.FC<TableContainerProps> = ({
128128
showHorizontalScrollbar,
129129
virtual
130130
})=>{
131-
132-
React.useEffect(()=>{
133-
// eslint-disable-next-line no-console
134-
console.log('TableContainer virtual:',virtual);
135-
},[virtual]);
136-
137131
return(
138132
<MainContainer
139133
$mode={mode}

‎client/packages/lowcoder/src/comps/comps/tableLiteComp/parts/TableRenderer.tsx‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ function TableRendererComp<RecordType extends object>(props: TableRendererProps<
4747

4848
// AUTO MODE: Natural growth
4949
if(mode==='AUTO'){
50-
console.log('AutoModeTable');
5150
return(
5251
<AutoModeTable
5352
{...baseTableProps}
@@ -68,11 +67,9 @@ function TableRendererComp<RecordType extends object>(props: TableRendererProps<
6867

6968
// FIXED MODE: Height-constrained with optional virtualization
7069
if(mode==='FIXED'){
71-
console.log('FixedModeTable');
7270
constbodyHeight=heights.bodyHeight??0;
7371

7472
if(bodyHeight<=0){
75-
console.warn('TableRenderer: Invalid bodyHeight, falling back to auto mode');
7673
return(
7774
<AutoModeTable
7875
{...baseTableProps}
@@ -93,8 +90,6 @@ function TableRendererComp<RecordType extends object>(props: TableRendererProps<
9390

9491
// VIRTUALIZED: High performance for large datasets
9592
if(virtualizationConfig.enabled&&heights.canVirtualize){
96-
console.log('VirtualizedTable');
97-
console.log('VirtualizedTable scrollConfig',{x:totalWidth,y:bodyHeight});
9893
constscrollConfig={x:totalWidth,y:bodyHeight};
9994
return(
10095
<VirtualizedTable
@@ -118,7 +113,6 @@ function TableRendererComp<RecordType extends object>(props: TableRendererProps<
118113

119114
// FIXED: Regular height-constrained mode without internal vertical scroll
120115
// Let the outer container handle vertical scrolling so the footer appears right after the table
121-
console.log('FixedModeTable','scrollConfig',{x:totalWidth,y:bodyHeight});
122116
return(
123117
<FixedModeTable
124118
{...baseTableProps}

‎client/packages/lowcoder/src/comps/comps/tableLiteComp/styles/HeaderStyles.ts‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ export const HeaderStyleProvider = styled.div<{
55
$isSticky:boolean;
66
$isHidden:boolean;
77
}>`
8-
${props=>{
9-
console.log("HeaderStyleProvider props:",props);
10-
return"";
11-
}}
12-
8+
139
${props=>props.$isHidden&&`
1410
.ant-table-thead {
1511
display: none;

‎client/packages/lowcoder/src/comps/comps/tableLiteComp/styles/ScrollbarStyles.ts‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@ export const ScrollbarStyleProvider = styled.div<{
44
$showVerticalScrollbar:boolean;
55
$showHorizontalScrollbar:boolean;
66
}>`
7-
/* Debug console logs */
8-
${props=>{
9-
console.log('ScrollbarStyleProvider received:',{
10-
showVerticalScrollbar:props.$showVerticalScrollbar,
11-
showHorizontalScrollbar:props.$showHorizontalScrollbar
12-
});
13-
return'';
14-
}}
15-
16-
177
${props=>!props.$showHorizontalScrollbar&&`
188
/* Target horizontal scrollbars - focus on .ant-table-body since it's common to all modes */
199
.ant-table-body::-webkit-scrollbar:horizontal,

‎client/packages/lowcoder/src/comps/comps/tableLiteComp/styles/ToolbarStyles.ts‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ import { TableToolbarStyleType } from "comps/controls/styleControlConstants";
44
exportconstToolbarStyleProvider=styled.div<{
55
$toolbarStyle:TableToolbarStyleType;
66
}>`
7-
${props=>{
8-
console.log("ToolbarStyleProvider props:",props);
9-
console.log("Toolbar style object:",props.$toolbarStyle);
10-
return"";
11-
}}
12-
137
background:${props=>props.$toolbarStyle?.background};
148
border: 1px solid${props=>props.$toolbarStyle?.border};
159
margin:${props=>props.$toolbarStyle?.margin};

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp