drwaer
v1.0.2
Published
| 参数 | 说明 | 类型 | 默认值 | 是否必传 | | ---|---|---|---|--- | visible |是否显示推屏 |bool|false|是| | title | 标题,不传表示不显示标题 |string|""|否| | loading | 是否显示loading |bool|false|否| | hasMasker |是否有背景蒙层 |bool|true|否| | hasMessage | 是否有警告提示|bool|false|否| | message | 警告提示标题|str
Downloads
10
Readme
| 参数 | 说明 | 类型 | 默认值 | 是否必传 | | ---|---|---|---|--- | visible |是否显示推屏 |bool|false|是| | title | 标题,不传表示不显示标题 |string|""|否| | loading | 是否显示loading |bool|false|否| | hasMasker |是否有背景蒙层 |bool|true|否| | hasMessage | 是否有警告提示|bool|false|否| | message | 警告提示标题|string|""|否| | messageType | 指定警告提示的样式success error info warning|string|"error"|否| | width |推屏高度 |number|480|否| | zIndex | 推屏层级|number|999|否| | placement |"left" 、 "right" 、 "top" 、 "bottom",推出方向,默认右侧 |string|"right"|否| | style |其他样式 |object|{}|否| | onClose |点击遮罩层或右上角叉叉或按下键盘ESC键的回调 |func|否| | onOk |点击确定按钮的回调 |func|否| | onCancel |点击取消按钮的回调 |func|否| | cancelText |取消文字 |string|"取消"|否| | okText |确定文字 |string|"确定"|否| | nodataText |无数据提示文字 |string|"暂无数据"|否|