diff --git a/web-react/public/seed/form-tabs/tab/index.jsx b/web-react/public/seed/form-tabs/tab/index.jsx index c67e687..cfbb6f1 100644 --- a/web-react/public/seed/form-tabs/tab/index.jsx +++ b/web-react/public/seed/form-tabs/tab/index.jsx @@ -1,6 +1,6 @@ import React, { Component } from 'react' import ReactDOM from 'react-dom' -import { Anchor, Card, Col, Row, Spin } from 'antd' +import { Anchor, Card, Col, Divider, Row, Spin } from 'antd' import { AntIcon, ComponentDynamic, Container } from 'components' import { isEqual } from 'lodash' @@ -86,22 +86,27 @@ export default class index extends Component {
{parts.map((item, i) => ( -
- {item.title &&
{item.title}
} - } - wrapperClassName={loading && 'h-400-min'} - > - {!loading && ( - this.call(child, i)} - /> - )} - -
+ <> +
+ {item.title &&
{item.title}
} + } + wrapperClassName={loading && 'h-400-min'} + > + {!loading && ( + this.call(child, i)} + /> + )} + +
+ {i < parts.length - 1 && ( + + )} + ))}
diff --git a/web-react/public/seed/form/index.jsx b/web-react/public/seed/form/index.jsx index 2eed1b7..0a6f60d 100644 --- a/web-react/public/seed/form/index.jsx +++ b/web-react/public/seed/form/index.jsx @@ -1,6 +1,6 @@ import React, { Component } from 'react' import ReactDOM from 'react-dom' -import { Anchor, Button, Card, Col, Row, Spin } from 'antd' +import { Anchor, Button, Card, Col, Divider, Row, Spin } from 'antd' import { AntIcon, ComponentDynamic, Container } from 'components' import { isEqual } from 'lodash' @@ -105,22 +105,27 @@ export default class index extends Component {
{parts.map((item, i) => ( -
- {item.title &&
{item.title}
} - } - wrapperClassName={loading && 'h-400-min'} - > - {!loading && ( - this.call(child, i)} - /> - )} - -
+ <> +
+ {item.title &&
{item.title}
} + } + wrapperClassName={loading && 'h-400-min'} + > + {!loading && ( + this.call(child, i)} + /> + )} + +
+ {i < parts.length - 1 && ( + + )} + ))}