소스 검색

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
     },
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…
취소
저장