Answer the question
In order to leave comments, you need to log in
Substitute language variable in vue.js iteration?
There is such an output in the template
<option v-for="dish in menu.dishes[1][0]" :value="dish.id" v-bind:key="dish.id">{{dish.title_ru}}</option>
export default {
data(){
return {
menu:{
dishes: '',
selectedmenu: '',
},
dates: '',
personal:'',
lang:'',
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question