简介
该用户还未填写简介
擅长的技术栈
未填写擅长的技术栈
可提供的服务
暂无可提供的服务
vue中v-for写在template上,不能加key怎么办
v-for写在非template上,添加:key没有任何问题,但是写在template上就不行了,加了就报错。有些时候由于内容过多,不得不写在上面,以下是解决方法:<template v-for="item,index in 5">---其他标签测试{{index}}---其他标签</template><template><div class="root"
到底了