Skip to content

el-array-tabs

基础用法

自定义标签页

Attributes

参数说明类型可选值默认值
min最小项数number0
max最大项数number
tabPosition标签页位置stringtop/right/bottom/left'top'
type标签类型string
stretch是否自动拉伸booleanfalse
closable是否可关闭booleanfalse
tabType标签样式类型stringcard/border-card
showIndex是否显示序号booleanfalse
showCopy是否显示复制按钮booleanfalse
showRemove是否显示删除按钮booleantrue
showAdd是否显示添加按钮booleantrue
addLabel添加按钮文字string'添加'
addAttrs添加按钮属性object{}
help帮助文本string

其它 Tabs 属性参考 Element Plus Tabs Attributes

Released under the MIT License.