Commit dea9c4f1 authored by GuanHua's avatar GuanHua

fix: 店铺装修组件参数添加

parent d11b74b0
......@@ -36,11 +36,12 @@ interface BannerClientProps {
productIds: number[],
productList?: any[],
// 1.B端 2.C端 3.SRM
property?: 1 | 2 | 3
property?: 1 | 2 | 3,
environment: number,
}
const RecomendShops: React.FC<BannerClientProps> = (props: BannerClientProps) => {
const { id, type, property = 1, memberName, memberId, roleId, logo, productIds = [], productList = [], selectedKey } = props;
const { id, type, property = 1, environment, memberName, memberId, roleId, logo, productIds = [], productList = [], selectedKey } = props;
const [mixVisible, setMixVisible] = useState<boolean>(false);
const [actVisible, setActVisible] = useState<boolean>(false);
const [commodityVisible, setCommodityVisible] = useState<boolean>(false);
......@@ -196,6 +197,7 @@ const RecomendShops: React.FC<BannerClientProps> = (props: BannerClientProps) =>
onConfirm={_onChooseConfirm}
disabledKeys={sameLevelPropsList ? sameLevelPropsList.map((item) => item.id) : []}
visible={mixVisible}
environment={environment}
/>
<CommodityDrawer
selectId={productIds}
......
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