src/components/group/articleListScorll.vue
@@ -8,10 +8,12 @@ <a-spin /> </div> </div> <a-row type="flex" justify="center"> <div style="position:fixed;bottom: 10px;" id="dddadf"> <a-pagination @change="onChange" :showQuickJumper="true" :size="size" v-model="current" :defaultPageSize="pageSize" :total="total" /> </div> </a-row> <a-back-top> <a-icon type="up" />回到顶部 </a-back-top> @@ -68,7 +70,7 @@ }; }, beforeMount() { this.data = [obj1, obj2,obj3]; this.data = [obj1, obj2,obj3,obj2]; }, methods: { onChange(current) {