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

@Prop() private viewPointData!: any;
b.vue

定义:
resData:any;
后台传过来的resData赋值给this.resData
this.resData = resData
a.vue 接收组件传过来的参数

@Prop() private viewPointData!: any;
b.vue

定义:
resData:any;
后台传过来的resData赋值给this.resData
this.resData = resData