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

pull/10140/head
FuryBean 2018-03-13 10:36:15 +08:00 committed by 杨奕
parent c6e85dbd81
commit 9f09bd3b57
1 changed files with 6 additions and 6 deletions

View File

@ -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 @@
: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 @@
: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 @@
: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 @@
: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 @@
: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>