-
问题
表格样式重叠
如图所示:


-
研究过程
控制台调试发现,table宽度不能自适应
如图:

-
解决办法:
更改表格样式
html:
<i-table class="table"></i-table>
css:
.table table {
table-layout: auto;
width: 100% !important;
}
表格样式重叠
如图所示:
控制台调试发现,table宽度不能自适应
如图:
更改表格样式
html:
<i-table class="table"></i-table>
css:
.table table {
table-layout: auto;
width: 100% !important;
}
本文标题:iview table响应式问题
本文链接:https://www.haomeiwen.com/subject/jfzubctx.html
网友评论