1
This commit is contained in:
parent
8c711250b9
commit
436ee0e6bc
@ -567,10 +567,6 @@
|
||||
}],
|
||||
// 底部菜单
|
||||
tabs3: [{
|
||||
icon: 'icon-yizhan_o',
|
||||
name: '云商品',
|
||||
value: 7,
|
||||
}, {
|
||||
icon: 'icon-gouwu_o',
|
||||
name: '商品',
|
||||
value: 3,
|
||||
@ -677,12 +673,26 @@
|
||||
}
|
||||
}
|
||||
// #endif
|
||||
|
||||
this.getStore();
|
||||
this.diyData();
|
||||
shareScence(this.currSpid, this.isLogin);
|
||||
|
||||
this.initHeight();
|
||||
|
||||
// 判断是否有云商品,如果没有 就不展示这个tab
|
||||
getStoreCloudGoods(this.id, {
|
||||
page: 1,
|
||||
limit: 1
|
||||
}).then(res => {
|
||||
const data = res.data.list;
|
||||
if (data && data.length > 0) {
|
||||
this.tabs3.unshift({
|
||||
icon: 'icon-yizhan_o',
|
||||
name: '云商品',
|
||||
value: 7,
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user