Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
436 views
in Technique[技术] by (71.8m points)

兄弟们iview的表格有没有遇到过这个问题

image.png
数据加载前没有,加载完数据后表头就会多出一列,正常使用的

<Table :columns="columns" :data="tableData" :height="height"></Table>

有解吗


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

找到原因了,因为使用了固定高度和表头,所以table会给后面加一列,宽度和滚动条宽度相等,目前能想到的解决办法只有改源码?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...