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,7 +6,7 @@ | ||
6 | <tbody :class="[prefixCls + '-tbody']"> | 6 | <tbody :class="[prefixCls + '-tbody']"> |
7 | <template v-for="(row, index) in data"> | 7 | <template v-for="(row, index) in data"> |
8 | <table-tr | 8 | <table-tr |
9 | - :drag="drag" | 9 | + :draggable="draggable" |
10 | :row="row" | 10 | :row="row" |
11 | :key="row._rowKey" | 11 | :key="row._rowKey" |
12 | :prefix-cls="prefixCls" | 12 | :prefix-cls="prefixCls" |
@@ -60,7 +60,10 @@ | @@ -60,7 +60,10 @@ | ||
60 | type: [Boolean, String], | 60 | type: [Boolean, String], |
61 | default: false | 61 | default: false |
62 | }, | 62 | }, |
63 | - drag:Boolean | 63 | + draggable: { |
64 | + type: Boolean, | ||
65 | + default: false | ||
66 | + } | ||
64 | }, | 67 | }, |
65 | computed: { | 68 | computed: { |
66 | expandRender () { | 69 | expandRender () { |