12345678910111213141516171819202122232425262728293031323334353637 |
- import { defineMixin } from '../../libs/vue'
- import defProps from '../../libs/config/props.js'
- export const props = defineMixin({
- props: {
-
- name: {
- type: [String, Number, null],
- default: () => defProps.tabbarItem.name
- },
-
- icon: {
- icon: String,
- default: () => defProps.tabbarItem.icon
- },
-
- badge: {
- type: [String, Number, null],
- default: () => defProps.tabbarItem.badge
- },
-
- dot: {
- type: Boolean,
- default: () => defProps.tabbarItem.dot
- },
-
- text: {
- type: String,
- default: () => defProps.tabbarItem.text
- },
-
- badgeStyle: {
- type: [Object, String],
- default: () => defProps.tabbarItem.badgeStyle
- }
- }
- })
|