a.vue 接收组件传过来的参数

vue ts prop

@Prop() private viewPointData!: any;

b.vue

vue ts prop

定义:

resData:any;

后台传过来的resData赋值给this.resData

this.resData = resData

 
                    
            
                

相关文章:

  • 2021-05-24
  • 2021-12-22
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-04
  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2019-06-26
相关资源
相似解决方案