PopConfirmButton 按钮
带有 PopConfirm 下拉菜单功能的按钮
Usage
<template> <PopConfirmButton>按钮文本</PopConfirmButton></template>
<script> import { defineComponent } from 'vue'; import { PopConfirmButton } from '/@/components/Button'; export default defineComponent({ components: { PopConfirmButton }, });</script>Props
| 属性 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| enable | boolean | true | 是否启用下拉菜单,为 false 则显示默认按钮 |