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

View File

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