Commit fb5bf56a authored by Bill's avatar Bill

fix: 修改品类导航精选商品自定义类型bug

parent 416f7446
......@@ -224,7 +224,7 @@ const EditPanel = () => {
};
const currentProps = type === 0 && componentType.includes('suggestProduct') ? formValueToProps['suggestProduct'] : formValueToProps[componentType];
if(componentType.includes('suggestProduct') && type === 0) {
if(componentType.includes('suggestProduct') && values.type) {
setType(values.type);
}
changeProps({
......
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