When vue watch listens to an object deeply, how do you assign the monitored newvalue to the variable in data?

pageData is an object, passed from my parents, and I received pageData, through props in the child component. I want to use watch to listen for changes in the properties in the pageData object, and then assign a value to newpageData.

but normal snooping pageData, doesn"t trigger at all. After changing it to deep surveillance. Console.log (newval) can listen for the latest value of pageData. Then I made a mistake when I tried to assign a value to this.newpageData.

* * Error in callback for watcher "pageData"
newpageData is not defined**

is there any way to solve this problem?

props:["pageData"],
data(){
    return{
       newpageData:null
    }
},
  watch:{
       pageData:{
                handler: function (newval, oldVal) {
                    console.log(newval)
                    this.newpageData=newval;
                },
                deep: true
            }
        }    
Mar.13,2021

check that this points to

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37320-2c057.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37320-2c057.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?