1、<router-link v-for="item in products" :to="{path: item.path}" tag="li" active-class="active">{{item.name}}</router-link>
图片.png 图片.png1、<router-link v-for="item in products" :to="{path: item.path}" tag="li" active-class="active">{{item.name}}</router-link>
图片.png 图片.png本文标题:Vue 采坑记录
本文链接:https://www.haomeiwen.com/subject/efxidqtx.html
网友评论