Home > front end >  How to dynamically change the Dropdown can the value of the drop-down menu
How to dynamically change the Dropdown can the value of the drop-down menu

Time:05-18

Menu & lt; I & gt;







Is the menu that position should be a variable when I choose icon at the bottom of the menu that position display icon if no option is the default is the first selected others according to the other

CodePudding user response:

You this kind of situation with el - select - dropdown can directly this not line?

CodePudding user response:

 
Data () {
Return {
Label: "'
}
},
Created () {
//assignment default value, take the first dropdown values
This. Label='test - 1
}


 
{{label}}



CodePudding user response:

Thumb up thumb up at noon I write
  • Related