zaijin 2 жил өмнө
parent
commit
5e3934c329

+ 1 - 0
pages/myCars/myCars.vue

@@ -128,6 +128,7 @@ export default {
         if (res.code === 200) {
           this.mycars = this.mycars.concat(res?.data?.rows ?? []);
           this.page.total = Number(res?.data?.pages ?? 0);
+          this.mycarsTotal = Number(res?.data?.total ?? 0);
           if (this.page.num >= this.page.total) this.status = 'nomore';
           else this.status = 'loading';
         }