解决轮播
This commit is contained in:
parent
ed1e148576
commit
4c3750bdf1
|
@ -266,7 +266,7 @@
|
|||
req.axiosPostproducts('/key/products', data).then(res => {
|
||||
if (res.code == 200) {
|
||||
self.swiperDataList = res.data;
|
||||
self.goodsShow=res.data.length>3;
|
||||
self.goodsShow=res.data.length>1;
|
||||
if (res.data&&res.data.length>0) {
|
||||
self.goodsNum = true;
|
||||
self.onSelected(res.data[0])
|
||||
|
|
Loading…
Reference in New Issue