Browse Source

fix 修改查看巡检记录频次单位显示问题

master
liujiangyong 2 years ago
parent
commit
1540607013
  1. 5
      web/client/src/sections/patrolManage/components/planModal.js

5
web/client/src/sections/patrolManage/components/planModal.js

@ -52,7 +52,10 @@ const PlanModal = ({ visible, onCreate, onCancel, dispatch, userLoading, userLis
}, [structureList]) }, [structureList])
const selectAfter = ( 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> <Option value="次/周">/</Option>
<Option value="次/月">/</Option> <Option value="次/月">/</Option>

Loading…
Cancel
Save