diff --git a/src/components/rect.jsx b/src/components/rect.jsx index 0cd34c1..acdbd04 100644 --- a/src/components/rect.jsx +++ b/src/components/rect.jsx @@ -6,7 +6,15 @@ import { IconPlus, IconMinus, } from "@douyinfe/semi-icons"; -import { Modal, Form, Checkbox, Row, Col } from "@douyinfe/semi-ui"; +import { + Modal, + Form, + Checkbox, + Row, + Col, + Popover, + Tag, +} from "@douyinfe/semi-ui"; const Rect = (props) => { const [node, setNode] = useState(Node.NONE); @@ -63,7 +71,7 @@ const Rect = (props) => { { name: "name", type: "varchar(20)", - default: "n/a", + default: "", primary: false, unique: false, notNull: true, @@ -136,44 +144,82 @@ const Rect = (props) => { {fields.map((e, i) => { return ( -
{e.name}
+{e.type}
+ Default :{" "} + {e.default === "" ? "Not set" : e.default} +
+