mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-01 11:38:03 +08:00
fix:值更新
Change-Id: I3a83fe7cde62ecf15b641727b41305d355e7276b
This commit is contained in:
parent
62ab9ebbcf
commit
314ca35640
@ -497,7 +497,11 @@ export default class FormulaControl extends React.Component<
|
||||
{...rest}
|
||||
evalMode={evalMode ?? this.state.evalMode}
|
||||
variableMode={rest.variableMode ?? this.state.variableMode}
|
||||
variables={this.state.variables}
|
||||
variables={
|
||||
this.state.variables?.length
|
||||
? this.state.variables
|
||||
: dataMapping(this.props.variables, this.props.data)
|
||||
}
|
||||
header={header || labelText}
|
||||
value={isString(value) ? value : undefined}
|
||||
onChange={onChange}
|
||||
|
Loading…
Reference in New Issue
Block a user