"ppspl": "新式茶饮、地方特色",
这样的数组,v-for如何循环出来?
用以下这样的方法,是把每一个字符都拆开了。
<text class="tag" v-if="item.ppspl" v-for="(v, i) in item.ppspl" :key="v.id">{{ field ? v[field] : v }}</text>

"ppspl": "新式茶饮、地方特色",
这样的数组,v-for如何循环出来?
用以下这样的方法,是把每一个字符都拆开了。
<text class="tag" v-if="item.ppspl" v-for="(v, i) in item.ppspl" :key="v.id">{{ field ? v[field] : v }}</text>