uniapp Object.assign 拷贝赋值
this.query = Object.assign({},this.query)
被赋值的值 = Object.assign({},被拷贝的值)
this.query 代表着你data定义的对象,通常会用到这个基本上就是你data的 query 没有定义一个属性值导致的
this.query = Object.assign({},this.query)
被赋值的值 = Object.assign({},被拷贝的值)
this.query 代表着你data定义的对象,通常会用到这个基本上就是你data的 query 没有定义一个属性值导致的