king
2021-04-13 e0aff8f4c0e9c8f16d1ba07863cf600638067514
src/tabviews/custom/components/card/table-card/index.jsx
@@ -69,9 +69,9 @@
    }
    if (_config.setting.laypage) {
      _config.wrap.contentHeight = _config.wrap.height - (showHeader ? 85 : 40)
      _config.wrap.contentHeight = showHeader ? 'calc(100% - 85px)' : 'calc(100% - 40px)'
    } else {
      _config.wrap.contentHeight = _config.wrap.height - (showHeader ? 45 : 0)
      _config.wrap.contentHeight = showHeader ? 'calc(100% - 45px)' : '100%'
    }
    _config.columns.forEach(item => {
@@ -343,7 +343,7 @@
    const { config, loading, data, BID, pageIndex, preIndex, total } = this.state
    return (
      <div className="custom-table-card-box" style={{...config.style, height: config.wrap.height}}>
      <div className="custom-table-card-box" style={{...config.style}}>
        {loading ?
          <div className="loading-mask">
            {data ? <div className="ant-spin-blur"></div> : null}