vue下标获取数据时候,页面报错

<h2 v-if="topList.pic" :style="{ 'backgroundImage': 'url(' + topList.pic[6].pic + ')' }">
                                {{topList.pic[3].title}}
                            </h2>

posted @ 2020-05-06 18:13  zyy_24  阅读(544)  评论(0编辑  收藏  举报