From 28ebe609e47b28794450cefc72d3e0f62fd904e7 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 09 五月 2022 01:04:19 +0800 Subject: [PATCH] 2022-05-09 --- src/menu/components/share/actioncomponent/actionform/index.jsx | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/menu/components/share/actioncomponent/actionform/index.jsx b/src/menu/components/share/actioncomponent/actionform/index.jsx index 7e218b0..10f04ea 100644 --- a/src/menu/components/share/actioncomponent/actionform/index.jsx +++ b/src/menu/components/share/actioncomponent/actionform/index.jsx @@ -30,7 +30,8 @@ setting: PropTypes.object, // 椤甸潰璁剧疆 formlist: PropTypes.any, // 琛ㄥ崟淇℃伅 card: PropTypes.any, // 鎸夐挳淇℃伅 - inputSubmit: PropTypes.any // 鍥炶溅鎻愪氦浜嬩欢 + inputSubmit: PropTypes.func, // 鍥炶溅鎻愪氦浜嬩欢 + updRecord: PropTypes.func // 鏇存柊淇℃伅 } state = { @@ -140,6 +141,7 @@ } }, 100) } + this.props.updRecord && this.props.updRecord(this.record) } getMutilOptions = (requireOptions) => { @@ -489,6 +491,8 @@ this.record.control = '' _fieldval.control = '' } + + this.props.updRecord && this.props.updRecord(this.record) } else if (key === 'funcType') { if (value === 'print') { _fieldval.label = '鎵撳嵃' @@ -553,6 +557,8 @@ } } else if (key === 'intertype') { this.record.sysInterface = 'false' + + this.props.updRecord && this.props.updRecord(this.record) } else if (key === 'sysInterface') { if (value === 'true') { _fieldval.interface = window.GLOB.mainSystemApi || '' -- Gitblit v1.8.0