فهرست منبع

传参 页数和条数的字段

wangn 5 سال پیش
والد
کامیت
83e0ad0c82
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      ghs/src/views/item/list.vue

+ 1 - 1
ghs/src/views/item/list.vue

@@ -168,7 +168,7 @@ export default {
       this.app = app
 
       let getItem = () => {
-        return this.$service.product.list({ classId: this.classId, showPage:1})
+        return this.$service.product.list({ classId: this.classId, page: 1, pageSize: 20 })
       }
       ctx.service({
         page: getItem