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