소스 검색

[Chg] Make goods list size 100 temporary

Ark 4 년 전
부모
커밋
c5d2b9902d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/api/controller/goods.js

+ 1 - 1
src/api/controller/goods.js

@@ -115,7 +115,7 @@ module.exports = class extends Base {
     const isNew = this.get('isNew');
     const isHot = this.get('isHot');
     const page = this.get('page');
-    const size = this.get('size');
+    const size = this.get('size') || 100;
     const sort = this.get('sort');
     const order = this.get('order');