mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 11:07:52 +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,
|
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}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user