v-for渲染列表数据
<u-grid :col="4">
<u-grid-item v-for="(item,index) in subject" :key = "name">
<view>{{item.name}}</view>
<view>{{item.value}}</view>
</u-grid-item>
</u-grid>
</view>
数据示例:
subject:[{
name:'能力',
value:'80'
},
{
name:'态度',
value:'80'
},
{
name:'团队',
value:'80'
},
{
name:'学习',
value:'80'
},
],