Commit 49e332c5 by zhaochengxiang

字段datatype为空 白屏的问题

parent f8ba0c1f
...@@ -54,6 +54,9 @@ const DatatypeInput = ({ value = {}, datatypes, onChange }) => { ...@@ -54,6 +54,9 @@ const DatatypeInput = ({ value = {}, datatypes, onChange }) => {
}); });
}; };
//value有可能为空
value = value ? value: {};
return ( return (
<> <>
<Row align='middle'> <Row align='middle'>
......
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