Vue route enters the page for the first time, and all page loading and data monitoring and rendering are normal. After the current page is refreshed, the listening data changes are still normal, but the data rendering is not up.

now we need to implement a provincial, municipal and regional filtering function. According to the request API for the change of the province, we can obtain the corresponding city list of the province. Now, every time we enter this page, the monitoring of the change of the province and the rendering of the corresponding data are normal, as shown in figure 1. However, after the current page is refreshed, the monitoring of the change of the province can also be monitored, and the corresponding city list page is obtained. That is, the data of the city list can not be rendered, as shown in figure 2. I don"t know why. I would like to ask all of you for advice
clipboard.png

clipboard.png


html:

idedown slidedown1 fl" v-if="isMechanism" :style="isZc?"":"margin-left:10px;"">


js:
watch:{


}

clipboard.png

clipboard.png

.
May.27,2021

Paste the code for

getCityList . I guess the null request was sent out, and then came back slowly. As a result, null values overwrite valuable ones. Write down the control, and only the last ajax will be assigned.

look at the console.
clipboard.png

select
clipboard.png

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