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,8 +47,7 @@ | ||
47 | :columns-width="columnsWidth" | 47 | :columns-width="columnsWidth" |
48 | :data="rebuildData"></table-head> | 48 | :data="rebuildData"></table-head> |
49 | </div> | 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 | <table-body | 51 | <table-body |
53 | fixed="left" | 52 | fixed="left" |
54 | :prefix-cls="prefixCls" | 53 | :prefix-cls="prefixCls" |
@@ -70,8 +69,7 @@ | @@ -70,8 +69,7 @@ | ||
70 | :columns-width="columnsWidth" | 69 | :columns-width="columnsWidth" |
71 | :data="rebuildData"></table-head> | 70 | :data="rebuildData"></table-head> |
72 | </div> | 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 | <table-body | 73 | <table-body |
76 | fixed="right" | 74 | fixed="right" |
77 | :prefix-cls="prefixCls" | 75 | :prefix-cls="prefixCls" |