Browse Source

数据接收修改

feature/3.0.0-推广员
lfs3 6 years ago
parent
commit
ca1bb63b28
1 changed files with 1 additions and 1 deletions
  1. 2
      src/view/goods-classify.vue

2
src/view/goods-classify.vue

@ -150,7 +150,7 @@ export default {
goodsApi.getGoods(params).then(res => { goodsApi.getGoods(params).then(res => {
this.showLoading = false; this.showLoading = false;
if (res.code == 0) { if (res.code == 0) {
this.goodsList = res.data || [];
this.goodsList = res.response || [];
let list = []; let list = [];
for (var i = 0; i < this.goodsList.length; i++) { for (var i = 0; i < this.goodsList.length; i++) {
if (this.goodsList[i].goodsList.length != 0) { if (this.goodsList[i].goodsList.length != 0) {

Loading…
Cancel
Save