@H_4030@最近学了点vuejs,把学的东西记录下来方便你我他。
@H403_0@vuejs的官方文档:https://vuejs.org/v2/api/ (还是要习惯看官方文档啊同志们~)
@H_4030@<span style="background-color: #ccffcc">
1、 v-for进行遍历
@H403_0@比如我这里想遍历videos里的所有元素,那么我输入
<div class="jb51code">
<pre class="brush:xhtml;">
<div v-for="v in videos">