mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 19:52:51 +00:00
fix: variable binding lost after modify the mock value
This commit is contained in:
parent
70fd3720d0
commit
ef95b56832
@ -187,7 +187,7 @@ class SettingFieldView extends Component<SettingFieldViewProps, SettingFieldView
|
||||
// eslint-disable-next-line react/no-unused-state
|
||||
value,
|
||||
});
|
||||
field.setValue(value);
|
||||
field.setValue(value, true);
|
||||
if (_onChange) _onChange(value, field);
|
||||
},
|
||||
onInitial: () => {
|
||||
@ -199,7 +199,7 @@ class SettingFieldView extends Component<SettingFieldViewProps, SettingFieldView
|
||||
// eslint-disable-next-line react/no-unused-state
|
||||
value,
|
||||
});
|
||||
field.setValue(value);
|
||||
field.setValue(value, true);
|
||||
},
|
||||
|
||||
removeProp: () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user