|
|
@ -52,7 +52,10 @@ const PlanModal = ({ visible, onCreate, onCancel, dispatch, userLoading, userLis |
|
|
|
}, [structureList]) |
|
|
|
|
|
|
|
const selectAfter = ( |
|
|
|
<Select defaultValue="次/天" onChange={value => setUnit(value)}> |
|
|
|
<Select |
|
|
|
defaultValue={curRecord?.frequency ? curRecord.frequency.substring(curRecord.frequency.length - 3, curRecord.frequency.length) : "次/天"} |
|
|
|
onChange={value => setUnit(value)} |
|
|
|
> |
|
|
|
<Option value="次/天">次/天</Option> |
|
|
|
<Option value="次/周">次/周</Option> |
|
|
|
<Option value="次/月">次/月</Option> |
|
|
|