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

接口联调

parent 42a04927
...@@ -167,10 +167,10 @@ const getGoodSaleProd = () => { ...@@ -167,10 +167,10 @@ const getGoodSaleProd = () => {
const platformProdList = () => { const platformProdList = () => {
getPlatformProdList({ categoryId: router.query.categoryId }).then((res) => { getPlatformProdList({ categoryId: router.query.categoryId }).then((res) => {
detailList.value = res.data; detailList.value = res.data;
choice(0, '3272');
}); });
}; };
const choice = (index, item) => { const choice = (index, item) => {
console.log(item.categoryId, index, 222);
testData.value = detailList.value[index].prodList; testData.value = detailList.value[index].prodList;
testData.value.forEach((item) => { testData.value.forEach((item) => {
item.imgUrl = import.meta.env.VITE_APP_IMG_URL + item.pic; item.imgUrl = 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