提交 21c771b5 编写于 作者: J JinMao

fix: fix if getDropdownList.length==0 show Dropdown component

上级 49b66e83
......@@ -8,14 +8,18 @@
<Divider
type="vertical"
class="action-divider"
v-if="divider && index < getActions.length - (dropDownActions ? 0 : 1)"
v-if="
divider &&
index < getActions.length - (dropDownActions ? 0 : 1) &&
getDropdownList.length > 0
"
/>
</template>
<Dropdown
:trigger="['hover']"
:dropMenuList="getDropdownList"
popconfirm
v-if="dropDownActions"
v-if="dropDownActions && getDropdownList.length > 0"
>
<slot name="more"></slot>
<a-button type="link" size="small" v-if="!$slots.more">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册