Commit d479ea97 authored by 杨奕's avatar 杨奕 Committed by GitHub

Table: fix wrapper width of fixed table (#10291)

parent 259aeec3
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
:border="border" :border="border"
:store="store" :store="store"
:style="{ :style="{
width: layout.bodyWidth ? layout.bodyWidth + 'px' : '' width: bodyWidth
}"></table-header> }"></table-header>
</div> </div>
<div <div
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
:row-class-name="rowClassName" :row-class-name="rowClassName"
:row-style="rowStyle" :row-style="rowStyle"
:style="{ :style="{
width: layout.bodyWidth ? layout.bodyWidth + 'px' : '' width: bodyWidth
}"> }">
</table-body> </table-body>
<div <div
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
:summary-method="summaryMethod" :summary-method="summaryMethod"
:store="store" :store="store"
:style="{ :style="{
width: layout.bodyWidth ? layout.bodyWidth + 'px' : '' width: bodyWidth
}"></table-footer> }"></table-footer>
</div> </div>
</div> </div>
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
:border="border" :border="border"
:store="store" :store="store"
:style="{ :style="{
width: layout.bodyWidth ? layout.bodyWidth + 'px' : '' width: bodyWidth
}"></table-header> }"></table-header>
</div> </div>
<div <div
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
:row-style="rowStyle" :row-style="rowStyle"
:highlight="highlightCurrentRow" :highlight="highlightCurrentRow"
:style="{ :style="{
width: layout.bodyWidth ? layout.bodyWidth + 'px' : '' width: bodyWidth
}"> }">
</table-body> </table-body>
</div> </div>
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
:summary-method="summaryMethod" :summary-method="summaryMethod"
:store="store" :store="store"
:style="{ :style="{
width: layout.bodyWidth ? layout.bodyWidth + 'px' : '' width: bodyWidth
}"></table-footer> }"></table-footer>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment