- Array
demo: {
type: Array,
default: () => [],
},
- Object
demo: {
type: Object,
default: () => ({}),
},
- Function
demo: {
type: Function,
default: () => {},
},
- Boolean
demo: {
type: Boolean,
default: false,
},
- String
demo: {
type: String,
default: ' ',
},
- Number
demo: {
type: Number,
default: 0,
},
网友评论