Commit 7b9a8098 authored by GuanHua's avatar GuanHua

fix: 找不到商城信息报错问题

parent 38453233
......@@ -195,7 +195,7 @@ const OwnMallTempleteEdit: React.FC<ShopPreviewPropsType> = props => {
const _mallLayoutConfig: any = cloneDeep(channelLayoutConfig);
const allState = {
top: defaultHeaderNavData,
channelName: webMallInfo.name,
channelName: webMallInfo?.name,
categoryList: await getFirstCategoryList(),
navList: appConfig?.navList ? appConfig?.navList.details : [],
advert: appConfig?.advert ? appConfig?.advert.details : [],
......
......@@ -209,7 +209,7 @@ const OwnMallTempletePreview: React.FC<ShopPreviewPropsType> = props => {
const _mallLayoutConfig: any = cloneDeep(channelLayoutConfig);
const allState = {
top: defaultHeaderNavData,
channelName: webMallInfo.name,
channelName: webMallInfo?.name,
categoryList: await getFirstCategoryList(),
navList: appConfig?.navList ? appConfig?.navList.details : [],
advert: appConfig?.advert ? appConfig?.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