Эх сурвалжийг харах

传参 页数和条数的字段

wangn 5 жил өмнө
parent
commit
83e0ad0c82

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

@@ -168,7 +168,7 @@ export default {
       this.app = app
       this.app = app
 
 
       let getItem = () => {
       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({
       ctx.service({
         page: getItem
         page: getItem