.table-layout {
  :global {
    .ant-table-wrapper,
    .ant-spin-nested-loading,
    .ant-spin-container,
    .ant-table {
      height: 100%;
    }

    .ant-table-container {
      // 去除左侧的线段，用其他手段补充，.ant-table-header table {border-left: 1px solid #f0f0f0;}，.ant-table-body table {border-left: 1px solid #f0f0f0;}
      border-left: none !important;

      display: flex;
      flex-direction: column;
      height: 100%;
      .ant-table-header {
        table {
          border-left: 1px solid #f0f0f0;
        }
      }
      .ant-table-body {
        flex: 1;
        height: 0;

        table {
          border-left: 1px solid #f0f0f0;
        }
      }
    }
    .ant-table-content {
      height: 100%;
    }
    .ant-spin-container {
      display: flex;
      flex-direction: column;
    }
    .ant-table {
      flex: 1;
      height: 0;
    }
  }
}
