梁沛聪 6 лет назад
Родитель
Сommit
f07cd880a9
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

Загрузка…
Отмена
Сохранить