How to validate Object Prop with PropType

前端 未结 0 545
自闭症患者
自闭症患者 2021-01-18 06:38

I have the following props code:

  props: {
    ponyModel: {
      type: Object as PropType,
      validator: pony => pony.sp         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题