瀏覽代碼

Merge remote-tracking branch 'origin/master'

chenxiqiang 6 年之前
父節點
當前提交
a9e685e9dd
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      miniapp/app/pages/goodsList/index.js

+ 1
- 1
miniapp/app/pages/goodsList/index.js 查看文件

@@ -12,7 +12,7 @@ new $.Page({
12 12
     },
13 13
     init() {
14 14
         $.request('product/home', 'GET', {}).then((res) => {
15
-            const list = res.top;
15
+            const list = res.data;
16 16
             if (list && list.length > 0) {
17 17
                 this.setData({
18 18
                     list

Loading…
取消
儲存