amis-saas-7601 优化细节点

Change-Id: Iaea124b7b346385c87102455e3ddb91177535cf1
This commit is contained in:
jiatianqi 2022-11-17 15:17:18 +08:00
parent 72bef5693b
commit de15fc7cd5
2 changed files with 9 additions and 5 deletions

View File

@ -146,7 +146,7 @@ export default class FormulaControl extends React.Component<
simple: false, simple: false,
rendererWrapper: false, rendererWrapper: false,
DateTimeType: FormulaDateType.NotDate, DateTimeType: FormulaDateType.NotDate,
requiredDataPropsAsOptions: false requiredDataPropsVariables: false
}; };
isUnmount: boolean; isUnmount: boolean;
@ -510,7 +510,7 @@ export default class FormulaControl extends React.Component<
className="ae-editor-FormulaControl-input" className="ae-editor-FormulaControl-input"
value={this.inReplaceExpression(value)} value={this.inReplaceExpression(value)}
clearable={true} clearable={true}
placeholder={placeholder} placeholder={placeholder ?? '请输入静态值'}
onChange={this.handleSimpleInputChange} onChange={this.handleSimpleInputChange}
/> />
)} )}

View File

@ -203,9 +203,13 @@ export class TextareaFormulaControl extends React.Component<
return ( return (
<div <div
className={cx('ae-TextareaFormulaControl', { className={cx(
'is-fullscreen': this.state.isFullscreen 'ae-TextareaFormulaControl',
})} {
'is-fullscreen': this.state.isFullscreen
},
className
)}
> >
<div className={cx('ae-TextareaResultBox')} style={resultBoxStyle}> <div className={cx('ae-TextareaResultBox')} style={resultBoxStyle}>
<CodeMirrorEditor <CodeMirrorEditor