mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-09 13:40:06 +00:00
fix: fix if getDropdownList.length==0 show Dropdown component
This commit is contained in:
@@ -8,14 +8,18 @@
|
|||||||
<Divider
|
<Divider
|
||||||
type="vertical"
|
type="vertical"
|
||||||
class="action-divider"
|
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>
|
</template>
|
||||||
<Dropdown
|
<Dropdown
|
||||||
:trigger="['hover']"
|
:trigger="['hover']"
|
||||||
:dropMenuList="getDropdownList"
|
:dropMenuList="getDropdownList"
|
||||||
popconfirm
|
popconfirm
|
||||||
v-if="dropDownActions"
|
v-if="dropDownActions && getDropdownList.length > 0"
|
||||||
>
|
>
|
||||||
<slot name="more"></slot>
|
<slot name="more"></slot>
|
||||||
<a-button type="link" size="small" v-if="!$slots.more">
|
<a-button type="link" size="small" v-if="!$slots.more">
|
||||||
|
Reference in New Issue
Block a user