surely-table icon indicating copy to clipboard operation
surely-table copied to clipboard

#summary 总结行问题

Open ljb943 opened this issue 2 years ago • 3 comments

使用会造成列对应不上 并且未悬浮在下方 而是在最后一列的下方 如下图 image 如果使用 会导致只会显示一行汇总行但行内没有文字 如下图 image 复现代码

<s-table
    :columns="columns"
    :scroll="{ y: 400 }"
    :pagination="false"
    :data-source="dataSource"
  >
    <template #summary>
      <a-table-summary fixed>
        <a-table-summary-row>
          <a-table-summary-cell>Total</a-table-summary-cell>
          <a-table-summary-cell>
            22222222
          </a-table-summary-cell>
          <a-table-summary-cell>
            22222222
          </a-table-summary-cell>
        </a-table-summary-row>
      </a-table-summary>
    </template>  
  </s-table>

ljb943 avatar Aug 07 '22 03:08 ljb943

s-table a-table-summary ? 不要混用 用 s 就都 s

tangjinzhou avatar Aug 07 '22 05:08 tangjinzhou

s-table a-table-summary ? 不要混用 用s就都s 第二张图就是都用的stable 但是只有总结行 里面的文本显示不出来

ljb943 avatar Aug 07 '22 07:08 ljb943

参考这个 https://codesandbox.io/s/awesome-elion-mkkylg?file=/src/App.vue:358-365 给出复现示例,你可以直接在这个链接里面更改然后保存,发出新的链接

tangjinzhou avatar Aug 08 '22 14:08 tangjinzhou