对象\数组赋值

64 阅读1分钟

在对接数据时,我们需要用一个数组/对象接收传过来的data

使用空的对象接收解构的对象

this.obj={...obj}

使用相等接收数组

this.arr=newArr