inleft
2022-02-23 81c155e7e00b83f06e6486a8d904428a44b8b275
src/components/group/articleListScorll.vue
@@ -1,10 +1,14 @@
<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 class="mySecret" v-if="data.length==0">
            <p>空空如也..</p>
         </div>
         <div v-if="loading && !busy" class="demo-loading-container">
            <a-spin />
         </div>
@@ -81,7 +85,7 @@
         },
         typeId: function(newValue, oldValue) {
            this.busy = true;
            this.$message.info('loading',0.3);
            this.$message.info('loading', 0.3);
            this.onChange(1);
         }