瀏覽代碼

[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');