How to write this three-stage linkage in vue?




Mar.18,2021

since your three-stage linkage data is obtained through an interface:
(1) the first level uses @ change to trigger the classifyFirSel function.
(2) the second level triggers the classifySecSel function by listening for changes in props: ['value'] at the previous level.
(3) the third level listens for changes in the props: ['value'] of the second level and triggers the classifyThrSel function.


three-level linkage of vue I have never written that it should be easier than the original without having to operate DOM on your own. Didn't you get this data through post? didn't you monitor the first onchange event to get the corresponding ID, to take out the corresponding data from the ID and render it into the second select? this is the idea that


vue three-level linkage was written by a province, municipality, and autonomous region before the three-level linkage,


three-level linkage of a province, city, and autonomous region. The first-level drop-down item is the data obtained during initialization. Binding on-change triggers the second-level list of requests, and the second-level on-change requests the third-level


I have also seen on the Internet that someone is using el-select,. I am using element's Cascader cascade selector.
I use encapsulated components ~ ~ but I don't know which of the two methods is better (easy to dynamically display the number of levels and reflect data, etc.)

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