problem description
vue displays content according to variable value, such as variable = a, displays "rice noodle grain and oil", variable = b, then shows vegetables. If using v-if is too tedious, do you have any good idea
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with a picture)
< div class= "ite" Vlyfor = "(it,inde) of newchild": key= "inde" >
<div v-if="it.name == "a""></div>
<div v-if="it.name == "s""></div>