Commit 2eb6012a authored by 皮倩雯's avatar 皮倩雯

fix: '定时任务界面优化'

parent 0b22ee12
Pipeline #79705 passed with stages
...@@ -45,7 +45,7 @@ const AddModal = props => { ...@@ -45,7 +45,7 @@ const AddModal = props => {
const [isDayLoopShow, setIsDayLoopShow] = useState(false); const [isDayLoopShow, setIsDayLoopShow] = useState(false);
const [isWeekLoopShow, setIsWeekLoopShow] = useState(false); const [isWeekLoopShow, setIsWeekLoopShow] = useState(false);
const [waitCheck, setWaitCheck] = useState(false); const [waitCheck, setWaitCheck] = useState(false);
const [isUse, setIsUse] = useState(true); const [isUse, setIsUse] = useState(false);
const [interval, setInterval] = useState(1); const [interval, setInterval] = useState(1);
const [loop_unit, setLoop_unit] = useState('Hour'); const [loop_unit, setLoop_unit] = useState('Hour');
const [exeType, setExeType] = useState(true); const [exeType, setExeType] = useState(true);
...@@ -579,10 +579,10 @@ const AddModal = props => { ...@@ -579,10 +579,10 @@ const AddModal = props => {
<div style={{ paddingTop: '0.3rem' }}>记录日志(小于每分钟一次的请求不会记录)</div> <div style={{ paddingTop: '0.3rem' }}>记录日志(小于每分钟一次的请求不会记录)</div>
</div> </div>
</Item> </Item>
<Item label="禁用计划" style={{ color: '#f00' }} name="is_enable"> <Item label="禁用计划" style={{ color: '#f00' }} name="is_enable">
<Switch <Switch
checkedChildren="开启" checkedChildren=""
unCheckedChildren="关闭" unCheckedChildren=""
checked={isUse} checked={isUse}
onChange={onChange} onChange={onChange}
/> />
......
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