Commit 0770a00e authored by GuanHua's avatar GuanHua

fix: 店铺装修品类id传参问题

parent f2fcac6b
......@@ -34,7 +34,7 @@ const TemplateList = ['science']
const ChannelPreview: React.FC<ChannelPreviewPropsType> = (props) => {
const { query: { id, template, type } } = props.location
const userInfo = getAuth() || {}
const userInfo: any = getAuth() || {}
const [loading, setLoading] = useState<boolean>(true)
const [theme, setTheme] = useState<string>('theme-channel-science')
const [componentConfigs, setComponentConfigs] = useState({})
......@@ -303,7 +303,7 @@ const ChannelPreview: React.FC<ChannelPreviewPropsType> = (props) => {
"componentName": "ShopFloorLine.Category",
"props": {
categoryAdvertPicUrl: categoryDetail.categoryAdvertPicUrl,
categoryid: item.id,
categoryid: item.categoryId,
linkdisable: true,
categoryList: categoryDetail.categoryBOList
},
......@@ -315,7 +315,7 @@ const ChannelPreview: React.FC<ChannelPreviewPropsType> = (props) => {
"componentName": "ShopFloorLine.Goods",
"props": {
linkdisable: true,
categoryid: item.id,
categoryid: item.categoryId,
goodsList: categoryDetail.goodsBOList
},
},
......
......@@ -191,7 +191,7 @@ const ShopEdit: React.FC<ShopEditPropsType> = (props) => {
"componentName": "ShopFloorLine.Category",
"props": {
categoryAdvertPicUrl: categoryDetail.categoryAdvertPicUrl,
categoryid: item.id,
categoryid: item.categoryId,
categoryList: categoryDetail.categoryBOList
},
},
......@@ -202,7 +202,7 @@ const ShopEdit: React.FC<ShopEditPropsType> = (props) => {
"componentName": "ShopFloorLine.Goods",
"props": {
linkdisable: true,
categoryid: item.id,
categoryid: item.categoryId,
goodsList: categoryDetail.goodsBOList
},
},
......
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