Commit ae9b3cd3 by 林家欣

fix: 修改首页要闻左侧后台图片预览接口

parent bac90685
......@@ -1132,15 +1132,13 @@ export default {
const query = {
id: pictureId,
};
const indexCarouselManageRes = await this.$api.home.indexCarouselManage(
const homePictureRes = await this.$api.home.homePicture(
query
);
const { returnCode, data } = indexCarouselManageRes;
console.log(indexCarouselManageRes, "后台轮播图预览2");
if (returnCode === "0") {
const { returnCode, data } = homePictureRes;
console.log(homePictureRes, "后台轮播图预览2");
if (returnCode === "0" && data) {
const list = [];
data.jumppath = data.directpath;
data.picFile = data.picIndexPath;
list.push(data);
this.newsBanner = list;
}
......
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