Commit c5f97b9d9f4e2530129473511dd6e55e90043758

Authored by Wit〆苗大
Committed by GitHub
1 parent 3a1ec7ac

perf(BasicTable): css 内 ant-tag margin改动仅对表格内单元格生效, 防止影响其他地方的tag (#2653)

* perf(BasicTable): ant-tag margin改动仅对表格内单元格生效, 防止影响其他地方的tag, 如搜索表单内时间范围自定预设范围的tag

* perf(BasicTable):css 内 ant-tag margin改动仅对表格内单元格生效, 防止影响其他地方的tag, 如搜索表单内时间范围自定预设范围的tag

---------

Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
src/components/Table/src/BasicTable.vue
... ... @@ -386,8 +386,10 @@
386 386 }
387 387 }
388 388  
389   - .ant-tag {
390   - margin-right: 0;
  389 + .ant-table-cell {
  390 + .ant-tag {
  391 + margin-right: 0;
  392 + }
391 393 }
392 394  
393 395 .ant-table-wrapper {
... ...