mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
amis-saas-7601 优化细节点
Change-Id: Iaea124b7b346385c87102455e3ddb91177535cf1
This commit is contained in:
parent
72bef5693b
commit
de15fc7cd5
@ -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}
|
||||
/>
|
||||
)}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user