# 按钮
# Attributes
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
debounce | 是否启用防抖 | boolean | — | false |
debounceTime | 防抖延迟时间 | number | — | 500 |
loading | 点击后自动开启loading(按钮上) | boolean | — | false |
fullscreenLoading | 点击后自动开启loading(全屏) | boolean | — | false |
confirmType | 操作按钮确认方式,可自动渲染el-popconfirm 或element-ui 的confirm 弹窗 | pop/confirm | — | — |
popConfig | 当传入confirmType为pop时,el-popconfirm 属性的对象,可传入el-popconfirm 组件支持的所有属性值 | object | — | — |
confirmConfig | 当传入confirmType为confirm时,element-ui 的Messagebox.confirm 的属性值对象 | — | — | — |
content | tip提示的内容 | string | — | — |
tipConfig | tip的配置属性 | object | — | — |
isLink | 点击跳转 | boolean | — | false |
toPath | 跳转路径 | string | — | '/' |
温馨提示
除以上列出的为本组件封装的新属性,其他el-input
的任何属性均可直接继承