Commit ecbb56ca authored by 皮倩雯's avatar 皮倩雯

fix: '时间选择器默认值'

parent fb0b51c6
Pipeline #53566 waiting for manual action with stages
...@@ -903,9 +903,9 @@ const AddModal = props => { ...@@ -903,9 +903,9 @@ const AddModal = props => {
data.Preset = ''; data.Preset = '';
setPramData(data); setPramData(data);
form.setFieldsValue({ ValidationRule: '' }); form.setFieldsValue({ ValidationRule: '' });
if (value.indexOf('日期') != -1 || value === '时分秒') { // if (value.indexOf('日期') != -1 || value === '时分秒') {
form.setFieldsValue({ Config: undefined }); // form.setFieldsValue({ Config: undefined });
} // }
}; };
const onCharacterValue = e => { const onCharacterValue = e => {
setCharacterValue(e.target.value); setCharacterValue(e.target.value);
......
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