Commit f3d41b89 authored by GuanHua's avatar GuanHua

feat:模板装修问题

parent 12367cd9
......@@ -20,7 +20,6 @@ interface CategoryRecommendSettingPropsType {
}
const CategoryRecommendSetting: React.FC<CategoryRecommendSettingPropsType> = (props) => {
console.log(props)
const { secondCategoryList = [], categoryAdvertPicUrl = '', onChange, templateid, categoryid } = props
const [imgUrl, setImgUrl] = useState<string>(categoryAdvertPicUrl)
const [selectKeys, setSelectKeys] = useState<number[]>([])
......
......@@ -148,7 +148,7 @@ const TemplateDetail: React.FC<TemplateDetailPropsType> = (props) => {
{
type === 'mall' && (
<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 />
<label>装修</label>
</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