From 5d40888deb60d9a30fd55d7c516b0251f506fba7 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 06 六月 2024 13:42:17 +0800 Subject: [PATCH] 2024-06-06 --- src/menu/components/form/formaction/actionform/index.jsx | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/menu/components/form/formaction/actionform/index.jsx b/src/menu/components/form/formaction/actionform/index.jsx index 33ebafb..ff0fa6f 100644 --- a/src/menu/components/form/formaction/actionform/index.jsx +++ b/src/menu/components/form/formaction/actionform/index.jsx @@ -170,7 +170,6 @@ getFields() { const { getFieldDecorator } = this.props.form - const { interType, callbackType } = this.state const fields = [] this.state.formlist.forEach((item, index) => { @@ -206,7 +205,7 @@ message: formRule.func.maxMessage }] } else if (item.key === 'output') { - if (interType === 'system' || ((interType === 'outer' || interType === 'custom') && callbackType === 'script')) { + if (this.record.intertype === 'system' || ((this.record.intertype === 'outer' || this.record.intertype === 'custom') && this.record.callbackType === 'script')) { _rules = [{ pattern: /^@[0-9a-zA-Z_]+@?$/, message: '鍙橀噺浠绗﹀紑澶达紝鍙娇鐢ㄥ瓧姣嶃�佹暟瀛椾互鍙奯' -- Gitblit v1.8.0