Components
- Introduction
- vc-button
- vc-icon
- vc-checkbox
- vc-radio
- vc-buttonGroup
- vc-cascader
- vc-datepicker
- timepicker
- vc-easyclearinput
- vc-inputNumber
- vc-select
- vc-alert
- vc-badge
- vc-card
- vc-carousel
- vc-dropdown
- vc-toast
- vc-notification
- vc-modal
- vc-dialog
- vc-confrim
- vc-popover
- vc-tooltip
- vc-progress
- vc-table
- vc-tag
- vc-breadcrumb
- vc-pagination
- vc-steps
- vc-tabs
- vc-backtop
- vc-loading
- vc-panel
vc-alert
Install
|
|
|
|
Usage
props
type
type of alert
- type:
String
mode
是否固定文档流
- default:
fixed
- type:
String
dismissable
是否有关闭按钮
- default:
false
- type:
Boolean
show
是否显示
- type:
Function
- twoWay:
true
duration
可选的持续时间
- type:
Number
width
宽度
- type:
String
placement
定位
- type:
String
positionClass
- type:
String
example
- js
|
|