如何使用v | 您所在的位置:网站首页 › 重复的数据只算一次 › 如何使用v |
我正在从云端接收数据。我已经研究了StackOverflow中的许多问题,但所有问题都使用了data()中的数据。我是一个使用Vue.js的超级新手,所以不能在我的代码中应用它。 我只想在v-for中显示一次重复数据。在这种情况下,{{item.matched_product.name}}会重复显示。 {{item.matched_product.name}} {{item.matched_variant.options.map(obj => obj.value).join(' / ')}} {{item.qty}} / {{item.matched_variant.properties && item.matched_variant.properties.soldout ? '(sold out)':''}} No matching; Edit matching Match我该怎么办? ![]() |
CopyRight 2018-2019 实验室设备网 版权所有 |