// table组件
::v-deep .ant-table {
width: 100% !important;
.ant-table-body {
overflow: auto !important;
th,
tr,
td {
white-space: nowrap;
text-overflow: ellipsis;
word-break: break-word;
overflow: hidden;
}
}
.ant-table-tbody {
th,
tr,
td {
white-space: nowrap;
text-overflow: ellipsis;
word-break: break-word;
overflow: hidden;
}
}
}
a-table强制性根据内容适配宽度(亲测可用)
最新推荐文章于 2024-07-31 17:23:18 发布