File tree 1 file changed +12
-7
lines changed
client/packages/lowcoder/src/comps/comps/tableComp
1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ import { defaultTheme } from "@lowcoder-ee/constants/themeConstants";
45
45
import { childrenToProps } from "@lowcoder-ee/comps/generators/multi" ;
46
46
import { getVerticalMargin } from "@lowcoder-ee/util/cssUtil" ;
47
47
import { TableSummary } from "./tableSummaryComp" ;
48
+ import { default as LoadingOutlined } from "@ant-design/icons/LoadingOutlined" ;
48
49
49
50
export const EMPTY_ROW_KEY = 'empty_row' ;
50
51
@@ -1017,13 +1018,17 @@ export function TableCompView(props: {
1017
1018
size = { compChildren . size . getView ( ) }
1018
1019
rowAutoHeight = { rowAutoHeight }
1019
1020
tableLayout = "fixed"
1020
- loading = {
1021
- loading ||
1022
- // fixme isLoading type
1023
- ( compChildren . showDataLoadSpinner . getView ( ) &&
1024
- ( compChildren . data as any ) . isLoading ( ) ) ||
1025
- compChildren . loading . getView ( )
1026
- }
1021
+ loading = { {
1022
+ spinning : (
1023
+ loading ||
1024
+ // fixme isLoading type
1025
+ ( compChildren . showDataLoadSpinner . getView ( ) &&
1026
+ ( compChildren . data as any ) . isLoading ( ) ) ||
1027
+ compChildren . loading . getView ( )
1028
+ ) ,
1029
+ indicator : < LoadingOutlined spin /> ,
1030
+ size : 'large'
1031
+ } }
1027
1032
onCellClick = { ( columnName : string , dataIndex : string ) => {
1028
1033
comp . children . selectedCell . dispatchChangeValueAction ( {
1029
1034
name : columnName ,
You can’t perform that action at this time.
0 commit comments