Browse Source

代码更新

梁沛聪 6 years ago
parent
commit
f07cd880a9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      miniapp/app/pages/goodsList/index.js

+ 1
- 1
miniapp/app/pages/goodsList/index.js View File

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

Loading…
Cancel
Save