The drop-down menu in vue cannot echo the previously selected data





the first drop-down box echoes normally, the second and the third have no data, but I click on the first one to switch, 2 and 3 will have data

Mar.18,2021

does not quite understand your question, but when I often do this kind of three-level linkage, I usually attach an initial value to all three drop-down boxes, such as' Please select', and then hide the last two boxes first, which can effectively avoid wrong operations. Then the first selected value is used as the query condition for the content of the second drop-down box, and after the first valid value is selected, The second drop-down box will show up. According to what you said, if you switch the contents of the first drop-down box, the second and third will successfully call the method, which means that your method is fine, and it may be a matter of time.

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