Commit f8e53481 authored by 前端-许冠华's avatar 前端-许冠华

Merge branch 'fix-v2-saas' into 'v2-saas'

fix: 自营商城的模板使用有问题 See merge request linkseeks-design/pro-platform!556 (cherry picked from commit 31aadfe2aa50558978bf066fa9746308959b8b77) 6bab223f fix: 自营商城的模板使用有问题
parent 55bb0260
......@@ -85,7 +85,7 @@ const UseModal: React.FC<UseModalPropsType> = (props) => {
label={intl.formatMessage({ id: 'detail.purchase.selectMall' })}
rules={[{ required: true }]}
>
<Select className={styles.selectBox} onChange={handleSelect} defaultValue={(mallList && mallList.some((item) => item.id === dataInfo?.shopId)) ? dataInfo?.shopId : undefined}>
<Select className={styles.selectBox} onChange={handleSelect}>
{
mallList && mallList.map((mallItem) => (
<Select.Option value={mallItem.id} label={mallItem.name} key={mallItem.id}>
......
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