vue+Vue Property Decorator+ts

vue+Vue Property Decorator+ts Prop传数组语法问题解决方案

@Prop({
    default: () => {
      return []
    }
  })
  private tabs!: ITabs[]

你可能感兴趣的:(vue+Vue Property Decorator+ts)