king
2023-06-29 f2914103477e253f8af4b9f847933c0c7848c330
src/tabviews/custom/components/chart/antv-X6/nodeupdate/index.jsx
@@ -7,6 +7,8 @@
import './index.scss'
const { TextArea } = Input
class NodeUpdate extends Component {
  static propTpyes = {
    node: PropTypes.object,
@@ -228,7 +230,7 @@
          label: '内容'
        },
        {
          type: 'text',
          type: 'textarea',
          field: 'title',
          label: '标签',
          initval: title
@@ -387,6 +389,12 @@
            </Form.Item>
          </Col>
        )
      } else if (item.type === 'textarea') {
        fields.push(
          <Col span={24} key={index} style={{padding: '0 12px'}}>
            <TextArea defaultValue={item.initval} rows={3} onChange={(e) => this.change(e.target.value, item.field)} />
          </Col>
        )
      } else if (item.type === 'number') {
        fields.push(
          <Col span={24} key={index}>