I'd use a computed property to flatten your data, it'll make your loop clean <template> <div> <ul> <li v-for="row in flattened">{{ row.var }}</li> </ul> ...
確定! 回上一頁