Commit 13887c60 authored by 卢均锐's avatar 卢均锐

feat: 完善c端装修顶部导航注入品类

parent 9d112502
......@@ -134,8 +134,10 @@ const mobileClientEdit: React.FC<ShopPreviewPropsType> = (props) => {
let _marketingConfig_17: any = { ...marketingConfig_17 };
let _marketingConfig_18: any = { ...marketingConfig_18 };
let _marketingConfig_19: any = { ...marketingConfig_19 };
// const categoryData = await PublicApi.getSearchCommodityTemplateGetFirstCategoryListByMemberId({shopId})
// console.log(categoryData)
const categoryData = await PublicApi.getSearchCommodityTemplateGetFirstCategoryListByMemberId({shopId})
if(categoryData.code === 1000){
_headerConfig['1'].props.categoryList = categoryData.data?.map((item) => {return {label: item.name,value: item.id}});
}
if (appConfig?.adornContent?.advert) {
// 广告图
const _list = appConfig?.adornContent?.advert?.details;
......
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