vue2.0 computed 计算list循环后累加值

<template> <div class="hello"> <h1>{{ msg }}</h1> <h2>Foo</h2> <div v-for ="(item, index) in list"> <!--<p>{{item }}</p>--> <h1 v-show="false">{{a[index] = item.bb}}</h1> <!
相关文章
相关标签/搜索