Commit 7593ef6a4f081ed800658b70316ab2f1e3ee631d
1 parent
b3307fe2
fix(table-action): `divider` not work as expected
修复tableAction中的divider未按预期工作
Showing
1 changed file
with
1 additions
and
5 deletions
src/components/Table/src/components/TableAction.vue
@@ -14,11 +14,7 @@ | @@ -14,11 +14,7 @@ | ||
14 | <Divider | 14 | <Divider |
15 | type="vertical" | 15 | type="vertical" |
16 | class="action-divider" | 16 | class="action-divider" |
17 | - v-if=" | ||
18 | - divider && | ||
19 | - index < getActions.length - (dropDownActions ? 0 : 1) && | ||
20 | - getDropdownList.length > 0 | ||
21 | - " | 17 | + v-if="divider && index < getActions.length - 1" |
22 | /> | 18 | /> |
23 | </template> | 19 | </template> |
24 | <Dropdown | 20 | <Dropdown |