Browse Source

load-more

youyawu 5 years ago
parent
commit
57c67521d9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/components/loadMore.vue

+ 1 - 0
src/components/loadMore.vue

@@ -71,6 +71,7 @@ export default class extends Vue {
   @Watch("params", { immediate: true, deep: true })
   reload() {
     if (!this.params) return;
+    this.items = [];
     return this.load(1);
   }
   @Watch("count")