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/menu/components/share/actioncomponent/actionform/index.jsx | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/src/menu/components/share/actioncomponent/actionform/index.jsx b/src/menu/components/share/actioncomponent/actionform/index.jsx index 6c8ace1..2cfa4c0 100644 --- a/src/menu/components/share/actioncomponent/actionform/index.jsx +++ b/src/menu/components/share/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, Checkbox } from 'antd' +import { Form, Row, Col, Input, Select, Radio, Tooltip, InputNumber, Cascader, Checkbox, Typography } from 'antd' import { QuestionCircleOutlined } from '@ant-design/icons' import { formRule } from '@/utils/option.js' @@ -9,6 +9,7 @@ import './index.scss' const { TextArea } = Input +const { Paragraph } = Typography const MkEditIcon = asyncComponent(() => import('@/components/mkIcon')) const acTyOptions = { pop: ['label', 'OpenType', 'intertype', 'Ot', 'show', 'swipe', 'icon', 'class', 'color', 'execSuccess', 'execError', 'syncComponent', 'switchTab', 'anchors', 'width', 'openmenu', 'refreshTab', 'position', 'tipTitle', 'hidden'], @@ -812,6 +813,17 @@ </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