From 1f5f5721e556ce1ede1be293313d7af88ef60677 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 10 一月 2023 18:35:50 +0800
Subject: [PATCH] 2023-01-10

---
 src/tabviews/custom/components/share/normalTable/index.jsx |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/custom/components/share/normalTable/index.jsx b/src/tabviews/custom/components/share/normalTable/index.jsx
index 9efe403..5c7df59 100644
--- a/src/tabviews/custom/components/share/normalTable/index.jsx
+++ b/src/tabviews/custom/components/share/normalTable/index.jsx
@@ -979,6 +979,10 @@
     }
 
     let height = setting.height || false
+    let loading = this.props.loading
+    if (setting.mask === 'hidden') {
+      loading = false
+    }
 
     return (
       <div className={`normal-custom-table ${setting.tableHeader || ''} ${height ? 'fixed-height' : ''} ${setting.mode || ''} table-vertical-${setting.vertical || ''}`} id={tableId}>
@@ -992,7 +996,7 @@
           rowSelection={rowSelection}
           columns={this.state.columns}
           dataSource={_data}
-          loading={this.props.loading}
+          loading={loading}
           scroll={{ x: '100%', y: height }}
           onRow={(record, index) => {
             return {

--
Gitblit v1.8.0