mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
fix: textareaFormula设置初始化值
This commit is contained in:
parent
ee07dfeafa
commit
0ae419e589
@ -145,7 +145,7 @@ export class TextareaFormulaControl extends React.Component<
|
||||
constructor(props: TextareaFormulaControlProps) {
|
||||
super(props);
|
||||
this.state = {
|
||||
value: '',
|
||||
value: this.props.value || '',
|
||||
variables: [],
|
||||
formulaPickerOpen: false,
|
||||
formulaPickerValue: '',
|
||||
|
Loading…
Reference in New Issue
Block a user