瀏覽代碼

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);
       }