We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49b66e8 commit 21c771bCopy full SHA for 21c771b
src/components/Table/src/components/TableAction.vue
@@ -8,14 +8,18 @@
8
<Divider
9
type="vertical"
10
class="action-divider"
11
- v-if="divider && index < getActions.length - (dropDownActions ? 0 : 1)"
+ v-if="
12
+ divider &&
13
+ index < getActions.length - (dropDownActions ? 0 : 1) &&
14
+ getDropdownList.length > 0
15
+ "
16
/>
17
</template>
18
<Dropdown
19
:trigger="['hover']"
20
:dropMenuList="getDropdownList"
21
popconfirm
- v-if="dropDownActions"
22
+ v-if="dropDownActions && getDropdownList.length > 0"
23
>
24
<slot name="more"></slot>
25
<a-button type="link" size="small" v-if="!$slots.more">
0 commit comments