One article explains in detail how to implement three-level linkage menu with JS (with explanation of ideas)
Idea: Each drop-down menu, as a component, can receive a set of data and generate different menu options based on different data contents. The correlation between the three levels is achieved through event throwing. Data is obtained from the background.
2022-08-18