|
|
|
@ -78,15 +78,6 @@ export class TemplateEditor extends React.Component<ITemplateEditorProps, any> {
|
|
|
|
|
<div
|
|
|
|
|
className={Classes.DIALOG_BODY + " " + Classes.CARD}
|
|
|
|
|
>
|
|
|
|
|
<div>
|
|
|
|
|
<Label className={Classes.INLINE}>
|
|
|
|
|
<span>模板名称</span>
|
|
|
|
|
<input className={Classes.INPUT}
|
|
|
|
|
defaultValue={template.Name}
|
|
|
|
|
onChange={e => template.Name = e.target.value}
|
|
|
|
|
/>
|
|
|
|
|
</Label>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="flex">
|
|
|
|
|
<TemplateParamList
|
|
|
|
|
store={this.props.store}
|
|
|
|
@ -102,6 +93,13 @@ export class TemplateEditor extends React.Component<ITemplateEditorProps, any> {
|
|
|
|
|
store={this.props.store}
|
|
|
|
|
/>
|
|
|
|
|
<div className={Classes.DIALOG_FOOTER_ACTIONS}>
|
|
|
|
|
<Label className={Classes.INLINE}>
|
|
|
|
|
<span style={{ fontWeight: 550 }}>模板名称:</span>
|
|
|
|
|
<input className={Classes.INPUT}
|
|
|
|
|
defaultValue={template.Name}
|
|
|
|
|
onChange={e => template.Name = e.target.value}
|
|
|
|
|
/>
|
|
|
|
|
</Label>
|
|
|
|
|
{
|
|
|
|
|
this.props.tid ?
|
|
|
|
|
<>
|
|
|
|
|