Commit 31b4618b4cdfec2db7edcc094a1f1244ffd3643d

Authored by Aresn
Committed by GitHub
1 parent c0563724

change api name

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
src/components/table/table.vue
... ... @@ -16,7 +16,7 @@
16 16 v-show="!((!!localeNoDataText && (!data || data.length === 0)) || (!!localeNoFilteredDataText && (!rebuildData || rebuildData.length === 0)))">
17 17 <table-body
18 18 ref="tbody"
19   - :drag="drag"
  19 + :draggable="draggable"
20 20 :prefix-cls="prefixCls"
21 21 :styleObject="tableStyle"
22 22 :columns="cloneColumns"
... ... @@ -54,7 +54,7 @@
54 54 <div :class="[prefixCls + '-fixed-body']" :style="fixedBodyStyle" ref="fixedBody" @mousewheel="handleFixedMousewheel" @DOMMouseScroll="handleFixedMousewheel">
55 55 <table-body
56 56 fixed="left"
57   - :drag="drag"
  57 + :draggable="draggable"
58 58 :prefix-cls="prefixCls"
59 59 :styleObject="fixedTableStyle"
60 60 :columns="leftFixedColumns"
... ... @@ -79,7 +79,7 @@
79 79 <div :class="[prefixCls + '-fixed-body']" :style="fixedBodyStyle" ref="fixedRightBody" @mousewheel="handleFixedMousewheel" @DOMMouseScroll="handleFixedMousewheel">
80 80 <table-body
81 81 fixed="right"
82   - :drag="drag"
  82 + :draggable="draggable"
83 83 :prefix-cls="prefixCls"
84 84 :styleObject="fixedRightTableStyle"
85 85 :columns="rightFixedColumns"
... ... @@ -182,7 +182,7 @@
182 182 type: Boolean,
183 183 default: false
184 184 },
185   - drag:{
  185 + draggable: {
186 186 type: Boolean,
187 187 default: false
188 188 }
... ...