【JEECG】BasicTable内嵌Table表格错位
功能说明:
解决代码生成后,本地内嵌Table表格样式错位。
优化前:
优化后:
解决方法:
对应的List.vue页面增加css样式调整。
<style lang="less" scoped>//内嵌表格margin边距覆盖:deep(.ant-table-wrapper:only-child .ant-table) {margin: 0 !important;}
</style>
解决代码生成后,本地内嵌Table表格样式错位。
<style lang="less" scoped>//内嵌表格margin边距覆盖:deep(.ant-table-wrapper:only-child .ant-table) {margin: 0 !important;}
</style>