From c23efbe2832d1a9eecd4ef5d20d984661b24dd22 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Tue, 22 Feb 2022 01:21:52 +0800 Subject: [PATCH] 文章添加补充 --- src/components/group/articleListScorll.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/group/articleListScorll.vue b/src/components/group/articleListScorll.vue index c18502a..99f4a78 100644 --- a/src/components/group/articleListScorll.vue +++ b/src/components/group/articleListScorll.vue @@ -1,8 +1,8 @@ <template> <div> <div v-infinite-scroll="loadMore" infinite-scroll-disabled="busy" :infinite-scroll-distance="10"> - <div v-for="temp in data"> - <newArticle v-bind="temp"></newArticle> + <div v-for="(temp,index) in data"> + <newArticle v-bind="temp" :index="index"></newArticle> <!-- <box5 v-bind="temp"></box5> --> </div> <div v-if="loading && !busy" class="demo-loading-container"> -- Gitblit v1.9.1