Vue watch同时监听到两个值的变化

data() {
  return {
    //定义的两个变量
    city: '',
    country: ''
  }
},
computed: {
    //写成计算属性
  address() {
    const { city, country } = this;
    return {
      city,
      country
    }
  }
},
watch: {
  address(nval, oval){
    // 其中 nval 和 oval 对象的形式==>{city:'',country:''}
     console.log('变化',nval,oval)
 }
}