Commit 9f09bd3b authored by FuryBean's avatar FuryBean Committed by 杨奕

Table: fix fixed column style on safari (#10130)

parent c6e85dbd
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
:border="border" :border="border"
:store="store" :store="store"
:style="{ :style="{
width: layout.fixedWidth ? layout.fixedWidth + 'px' : '' width: layout.bodyWidth ? layout.bodyWidth + 'px' : ''
}"></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.fixedWidth ? layout.fixedWidth + 'px' : '' width: layout.bodyWidth ? layout.bodyWidth + 'px' : ''
}"> }">
</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.fixedWidth ? layout.fixedWidth + 'px' : '' width: layout.bodyWidth ? layout.bodyWidth + 'px' : ''
}"></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.rightFixedWidth ? layout.rightFixedWidth + 'px' : '' width: layout.bodyWidth ? layout.bodyWidth + 'px' : ''
}"></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.rightFixedWidth ? layout.rightFixedWidth + 'px' : '' width: layout.bodyWidth ? layout.bodyWidth + 'px' : ''
}"> }">
</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.rightFixedWidth ? layout.rightFixedWidth + 'px' : '' width: layout.bodyWidth ? layout.bodyWidth + 'px' : ''
}"></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