Home > front end >  Urgent!!!!!!!!!! VUE page, V - SHOW judgment conditions changed but there is no real changes the pag
Urgent!!!!!!!!!! VUE page, V - SHOW judgment conditions changed but there is no real changes the pag

Time:09-25

I front-end developer small white one, but recently due to project requirement, now want to use VUE framework to develop a page, there was a problem now,
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
  • Related