UNPKG

uview-next

Version:

基于uView UI 2.0,110+高质量组件库,支持vue2和vue3,支持鸿蒙,支持多语言,搭配便捷工具助力,让开发更得心应手

30 lines (28 loc) 674 B
import { defineProps } from '../../libs/util/props'; export default defineProps('tabsItem', { // 标签的名称,作为与u-tabs的current参数匹配的标识符 name: { type: [String, Number, null], default: null }, // 标签显示的文本 label: { type: String, default: '' }, // 是否禁用此标签 disabled: { type: Boolean, default: false }, // 右上角的角标提示信息 badge: { type: [String, Number, null], default: null }, // 是否显示圆点,将会覆盖badge参数 dot: { type: Boolean, default: false } })