From ab36d5d2df479512dd8b2a7ce6b38b209870466f Mon Sep 17 00:00:00 2001 From: wyw <571921741@qq.com> Date: Wed, 22 Apr 2026 11:51:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=91=8A=20=E5=AF=8C=E6=96=87?= =?UTF-8?q?=E6=9C=AC=20=E5=AE=8C=E7=BB=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/files/edit/PF153.js | 42 ++++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/src/files/edit/PF153.js b/src/files/edit/PF153.js index fa36819..90b62d3 100644 --- a/src/files/edit/PF153.js +++ b/src/files/edit/PF153.js @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import { Form } from 'antd' +import { Form, Col } from 'antd' import { extendInclude, extendRule, initFilter } from "../../utils/common"; import moment from 'moment' import BraftEditor from 'braft-editor'; @@ -8,10 +8,6 @@ import 'braft-editor/dist/index.css'; * @return {string} */ -function ContentChange() { - var ccc = this; - debugger -} export default { onBeforeEdit: ({ isNew, setFieldValue, stateData, setFieldVisible }) => { if (stateData.ORG_ID != "00300000-0000-0000-0000-000000000000") { @@ -25,21 +21,29 @@ export default { handleRenderHeadControl(params) { if (params.colConfig.field == 'CONTENT') { const initialEditorState = BraftEditor.createEditorState(params.record.CONTENT || ''); + const formItemLayout = { + labelCol: { span: 24 }, + wrapperCol: { span: 24 } + }; + const customOrResponse = { + lg: 24, xxl: 24 + } return <> - {/* 自定义表单控件 */} - {/*