From 6c68ddaac837ebed30d291f0f8b864b830afaa8a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 21 七月 2022 01:01:22 +0800 Subject: [PATCH] 2022-07-21 --- src/templates/sharecomponent/actioncomponent/actionform/index.jsx | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/templates/sharecomponent/actioncomponent/actionform/index.jsx b/src/templates/sharecomponent/actioncomponent/actionform/index.jsx index d788017..e244c74 100644 --- a/src/templates/sharecomponent/actioncomponent/actionform/index.jsx +++ b/src/templates/sharecomponent/actioncomponent/actionform/index.jsx @@ -1,7 +1,7 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' import { fromJS } from 'immutable' -import { Form, Row, Col, Input, Select, Radio, Tooltip, InputNumber, Cascader } from 'antd' +import { Form, Row, Col, Input, Select, Radio, Tooltip, InputNumber, Cascader, Typography } from 'antd' import { QuestionCircleOutlined } from '@ant-design/icons' import { formRule } from '@/utils/option.js' @@ -12,6 +12,7 @@ const MkEditIcon = asyncComponent(() => import('@/components/mkIcon')) const { TextArea } = Input +const { Paragraph } = Typography const actionTypeOptions = { pop: ['label', 'position', 'OpenType', 'intertype', 'Ot', 'icon', 'class', 'execSuccess', 'execError', 'openmenu', 'output', 'tipTitle', 'hidden'], prompt: ['label', 'position', 'OpenType', 'intertype', 'Ot', 'icon', 'class', 'execSuccess', 'execError', 'openmenu', 'output', 'tipTitle', 'hidden'], @@ -623,6 +624,16 @@ </Col> ) }) + + if (window.debugger && this.props.card.uuid) { + fields.push( + <Col span={12} key="uuid"> + <Form.Item label="鎸夐挳ID"> + <Paragraph copyable>{this.props.card.uuid}</Paragraph> + </Form.Item> + </Col> + ) + } return fields } -- Gitblit v1.8.0