其他分享
首页 > 其他分享> > 静态化

静态化

作者:互联网

index.vue

<Content title="最新热门电影" v-bind:row=myRow /> let dataStr = '' export default { components: { Content, List }, data: () => ({ myRow:dataStr }), }     Content.vue <div v-for="item in JSON.parse(row)">   props: { title:String, row:Object, },   文章     this.item = JSON.parse(this.row) this.item = this.item[0]

标签:index,vue,静态,Content,item,dataStr,row
来源: https://www.cnblogs.com/cnchengv/p/11142925.html