From 33e93682aa7e0a129cc73808eb2001b61e48e5ec Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 28 十二月 2023 18:23:12 +0800 Subject: [PATCH] 2023-12-28 --- src/components/normalform/modalform/index.jsx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/components/normalform/modalform/index.jsx b/src/components/normalform/modalform/index.jsx index 785a379..776c225 100644 --- a/src/components/normalform/modalform/index.jsx +++ b/src/components/normalform/modalform/index.jsx @@ -284,7 +284,7 @@ if (item.type === 'text') { content = (<MKEInput config={item} onChange={(val, defer) => !defer && this.recordChange({[item.field]: val}, item)} onSubmit={this.props.inputSubmit} />) } else if (item.type === 'number') { - content = (<MKNumberInput config={item} onChange={(val, defer) => !defer && this.recordChange({[item.field]: val})} onSubmit={this.props.inputSubmit} />) + content = (<MKNumberInput config={item} onChange={(val, defer) => !defer && this.recordChange({[item.field]: val}, item)} onSubmit={this.props.inputSubmit} />) } else if (item.type === 'select' || item.type === 'multiselect') { content = (<MKSelect config={item} onChange={(val, other) => this.recordChange({[item.field]: val, ...other}, item)} />) } else if (item.type === 'color') { -- Gitblit v1.8.0