Update table.vue

This commit is contained in:
Aresn 2018-03-22 10:12:43 +08:00 committed by GitHub
parent 4f0f09aafc
commit b08f5e08d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,8 +47,7 @@
:columns-width="columnsWidth"
:data="rebuildData"></table-head>
</div>
<div :class="[prefixCls + '-fixed-body']" :style="fixedBodyStyle" ref="fixedBody"
@mousewheel="handleFixedMousewheel" @DOMMouseScroll="handleFixedMousewheel">
<div :class="[prefixCls + '-fixed-body']" :style="fixedBodyStyle" ref="fixedBody" @mousewheel="handleFixedMousewheel" @DOMMouseScroll="handleFixedMousewheel">
<table-body
fixed="left"
:prefix-cls="prefixCls"
@ -70,8 +69,7 @@
:columns-width="columnsWidth"
:data="rebuildData"></table-head>
</div>
<div :class="[prefixCls + '-fixed-body']" :style="fixedBodyStyle" ref="fixedRightBody"
@mousewheel="handleFixedMousewheel" @DOMMouseScroll="handleFixedMousewheel">
<div :class="[prefixCls + '-fixed-body']" :style="fixedBodyStyle" ref="fixedRightBody"@mousewheel="handleFixedMousewheel" @DOMMouseScroll="handleFixedMousewheel">
<table-body
fixed="right"
:prefix-cls="prefixCls"