Commit 89627e63 authored by 武广's avatar 武广

fix: 修改切换类型 刷新列表

parent 02c6f082
...@@ -50,12 +50,7 @@ const GroupInfo = options => { ...@@ -50,12 +50,7 @@ const GroupInfo = options => {
} }
}, [options.id, options.isModalOpen]); }, [options.id, options.isModalOpen]);
const extra = ( const extra = <Alert message="选中后,顾客下单需至少选择1个“下单必选分组”" type="error" />;
<Alert
message="选中后,顾客下单需至少选择1个“下单必选分组”商品每店仅可设置1个必点分组"
type="error"
/>
);
return ( return (
<Modal <Modal
...@@ -63,6 +58,7 @@ const GroupInfo = options => { ...@@ -63,6 +58,7 @@ const GroupInfo = options => {
visible={options.isModalOpen} visible={options.isModalOpen}
destroyOnClose destroyOnClose
maskClosable={false} maskClosable={false}
width="600px"
onOk={handleConfirm} onOk={handleConfirm}
onCancel={handleCancel} onCancel={handleCancel}
> >
......
...@@ -307,6 +307,9 @@ class goodsManage extends Component { ...@@ -307,6 +307,9 @@ class goodsManage extends Component {
productType: e || 1, productType: e || 1,
}); });
this.categoryListByType(e); this.categoryListByType(e);
if (e !== 5) {
this.handleSearch(1);
}
}; };
getVirtualCategory = async () => { getVirtualCategory = async () => {
......
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