Prechádzať zdrojové kódy

[Chg] Make goods list size 100 temporary

Ark 4 rokov pred
rodič
commit
c5d2b9902d
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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');