Look at the HTML code
And then the script section
Then the onclick method of time
I now is to achieve a click on the down arrow, and then pop up the sub menu below, but the inside of the v - show obviously judgment conditions are changed, but why does not display on a page, the page on the console also can see the change of parameter
Do not know to have one who know how to solve
CodePudding user response:
VueCategory. $data: why do you want to use this? This not line directly,Association between parent and child with what? If it is id
In v - show write directly if the current id is equal to click on the id of the implementation, click Settings when the parent of the currently selected id is equal to the parent id. If you can more child level at the same time, it set the currently selected id is an array, v - does it include circulation inside show id