Commit e83aef2f authored by 张娇(东信)'s avatar 张娇(东信)

首页

parent 95aae782
...@@ -117,7 +117,7 @@ const getPresaleCategoryList = () => { ...@@ -117,7 +117,7 @@ const getPresaleCategoryList = () => {
getPresaleCategory().then((res) => { getPresaleCategory().then((res) => {
res.data.forEach((item) => { res.data.forEach((item) => {
item.img = import.meta.env.VITE_APP_IMG_URL + item.pic; item.img = import.meta.env.VITE_APP_IMG_URL + item.pic;
item.commodityList = item.prodSimples; item.commodityList = item.prodSimples.splice(0, 3);
item.commodityList.forEach((item) => { item.commodityList.forEach((item) => {
item.commodityImg = import.meta.env.VITE_APP_IMG_URL + item.pic; item.commodityImg = import.meta.env.VITE_APP_IMG_URL + item.pic;
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment