Vue watch calls the method in methods does not execute, displays undefined?

watchmethodsundefined,this

watch listens to the value passed by other components, and then calls the method in methods to get the data refresh list. The result is not executed. The value of this method is printed out as undefined, but there is this method in my printed this. What is the reason and how to solve it?

Mar.12,2021

your method does not return a value. Of course, it is undefined


to see if the data obtained from the API, that is, classifyList, has changed


how do you solve this problem when you call it again?

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