vue+Vue Property Decorator+ts Prop传数组语法问题解决方案
@Prop({
default: () => {
return []
}
})
private tabs!: ITabs[]
vue+Vue Property Decorator+ts Prop传数组语法问题解决方案
@Prop({
default: () => {
return []
}
})
private tabs!: ITabs[]