props: {
array: {
type: Array,
default: () => []
},
object: {
type: Object,
default: () => {}
}
}
vue - props 声明数组和对象
最新推荐文章于 2024-05-29 18:55:00 发布
props: {
array: {
type: Array,
default: () => []
},
object: {
type: Object,
default: () => {}
}
}