Commit 568ac30b8c36a5a3dfe8170142a7b0832d2a6be1
Committed by
GitHub
1 parent
76a859c5
change api name
Showing
1 changed file
with
5 additions
and
2 deletions
Show diff stats
src/components/table/table-body.vue
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | <tbody :class="[prefixCls + '-tbody']"> |
| 7 | 7 | <template v-for="(row, index) in data"> |
| 8 | 8 | <table-tr |
| 9 | - :drag="drag" | |
| 9 | + :draggable="draggable" | |
| 10 | 10 | :row="row" |
| 11 | 11 | :key="row._rowKey" |
| 12 | 12 | :prefix-cls="prefixCls" |
| ... | ... | @@ -60,7 +60,10 @@ |
| 60 | 60 | type: [Boolean, String], |
| 61 | 61 | default: false |
| 62 | 62 | }, |
| 63 | - drag:Boolean | |
| 63 | + draggable: { | |
| 64 | + type: Boolean, | |
| 65 | + default: false | |
| 66 | + } | |
| 64 | 67 | }, |
| 65 | 68 | computed: { |
| 66 | 69 | expandRender () { | ... | ... |