소스 검색

代码更新

梁沛聪 6 년 전
부모
커밋
f07cd880a9
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…
취소
저장