vue, and then one of them added a value through push, but found that the other variable also changed, as follows:
apiGetDeviceType().then(response => {
let data=response.data
this.deviceType1 =data
this.deviceType2 =data
this.deviceType1.push({
name: "",
code: "all"
})
})
I don"t know why