Ver Fonte

我的车辆总数

zaijin há 2 anos atrás
pai
commit
5e3934c329
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      pages/myCars/myCars.vue

+ 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';
         }