The value passed from vue parent to child cannot be updated.


loading


isLoading dom



js

isEnd isLoading loading



Mar.07,2021

can you be more detailed and what the trigger looks like. I have no problem writing as you do


it is recommended that a variable isloading be defined in the component

props:{
    isLoading :{
          type:Boolean,
        required:true
    }
},
watch : {
    isLoading:{
          handler(curVal,oldVal){
              this.isloading = curVal
          }
}
}

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-1b3676c-2b861.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-1b3676c-2b861.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?