Commit b08f5e08d9278734bc2d1a602a13d48254e5c1c0
Committed by
GitHub
1 parent
4f0f09aa
Update table.vue
Showing
1 changed file
with
2 additions
and
4 deletions
Show diff stats
src/components/table/table.vue
| ... | ... | @@ -47,8 +47,7 @@ |
| 47 | 47 | :columns-width="columnsWidth" |
| 48 | 48 | :data="rebuildData"></table-head> |
| 49 | 49 | </div> |
| 50 | - <div :class="[prefixCls + '-fixed-body']" :style="fixedBodyStyle" ref="fixedBody" | |
| 51 | - @mousewheel="handleFixedMousewheel" @DOMMouseScroll="handleFixedMousewheel"> | |
| 50 | + <div :class="[prefixCls + '-fixed-body']" :style="fixedBodyStyle" ref="fixedBody" @mousewheel="handleFixedMousewheel" @DOMMouseScroll="handleFixedMousewheel"> | |
| 52 | 51 | <table-body |
| 53 | 52 | fixed="left" |
| 54 | 53 | :prefix-cls="prefixCls" |
| ... | ... | @@ -70,8 +69,7 @@ |
| 70 | 69 | :columns-width="columnsWidth" |
| 71 | 70 | :data="rebuildData"></table-head> |
| 72 | 71 | </div> |
| 73 | - <div :class="[prefixCls + '-fixed-body']" :style="fixedBodyStyle" ref="fixedRightBody" | |
| 74 | - @mousewheel="handleFixedMousewheel" @DOMMouseScroll="handleFixedMousewheel"> | |
| 72 | + <div :class="[prefixCls + '-fixed-body']" :style="fixedBodyStyle" ref="fixedRightBody"@mousewheel="handleFixedMousewheel" @DOMMouseScroll="handleFixedMousewheel"> | |
| 75 | 73 | <table-body |
| 76 | 74 | fixed="right" |
| 77 | 75 | :prefix-cls="prefixCls" | ... | ... |