Commit 5dfe30dd authored by XieZhiXiong's avatar XieZhiXiong
parents 2cc95167 42b5806f
...@@ -190,7 +190,7 @@ const MallEdit: React.FC<MallEditPropsType> = (props) => { ...@@ -190,7 +190,7 @@ const MallEdit: React.FC<MallEditPropsType> = (props) => {
[String(initIndex + 6)]: { [String(initIndex + 6)]: {
"componentName": "FloorLine.FloorHeader", "componentName": "FloorLine.FloorHeader",
"props": { "props": {
// linkdisable: true, linkdisable: true,
shopNum: categoryDetail.shopNum, shopNum: categoryDetail.shopNum,
goodsNum: categoryDetail.goodsNum goodsNum: categoryDetail.goodsNum
}, },
......
...@@ -20,7 +20,6 @@ interface CategoryRecommendSettingPropsType { ...@@ -20,7 +20,6 @@ interface CategoryRecommendSettingPropsType {
} }
const CategoryRecommendSetting: React.FC<CategoryRecommendSettingPropsType> = (props) => { const CategoryRecommendSetting: React.FC<CategoryRecommendSettingPropsType> = (props) => {
console.log(props)
const { secondCategoryList = [], categoryAdvertPicUrl = '', onChange, templateid, categoryid } = props const { secondCategoryList = [], categoryAdvertPicUrl = '', onChange, templateid, categoryid } = props
const [imgUrl, setImgUrl] = useState<string>(categoryAdvertPicUrl) const [imgUrl, setImgUrl] = useState<string>(categoryAdvertPicUrl)
const [selectKeys, setSelectKeys] = useState<number[]>([]) const [selectKeys, setSelectKeys] = useState<number[]>([])
......
...@@ -148,7 +148,7 @@ const TemplateDetail: React.FC<TemplateDetailPropsType> = (props) => { ...@@ -148,7 +148,7 @@ const TemplateDetail: React.FC<TemplateDetailPropsType> = (props) => {
{ {
type === 'mall' && ( type === 'mall' && (
<Fragment> <Fragment>
<div className={cx(styles.btn, styles.renovation)} onClick={() => history.push(`/mall/template/edit?id=${id}&template=${detailInfo?.fileName}`)} > <div className={cx(styles.btn, styles.renovation)} onClick={() => window.location.href = `/mall/template/edit?id=${id}&template=${detailInfo?.fileName}`} >
<LayoutOutlined /> <LayoutOutlined />
<label>装修</label> <label>装修</label>
</div> </div>
......
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