ソースを参照

fix grid loading mask not shown (#418)

Signed-off-by: ryjiang <jiangruiyi@gmail.com>
ryjiang 1 年間 前
コミット
3de012eea9
1 ファイル変更3 行追加0 行削除
  1. 3 0
      client/src/components/grid/Grid.tsx

+ 3 - 0
client/src/components/grid/Grid.tsx

@@ -190,6 +190,9 @@ const AttuGrid: FC<AttuGridType> = props => {
 
       const rowCount = Math.floor(totleHeight / rowHeight);
 
+      // fix loading mask
+      setLoadingRowCount(rowCount);
+
       if (setRowsPerPage) {
         setRowsPerPage(rowCount);
       }