diff --git a/spug_web/src/components/ACEditor.js b/spug_web/src/components/ACEditor.js index 1f07974..e799fd2 100644 --- a/spug_web/src/components/ACEditor.js +++ b/spug_web/src/components/ACEditor.js @@ -13,6 +13,7 @@ import 'ace-builds/src-noconflict/snippets/sh'; export default function (props) { return ( store.ext1Visible = false} diff --git a/spug_web/src/pages/deploy/app/Ext1Setup3.js b/spug_web/src/pages/deploy/app/Ext1Setup3.js index 6d9bbc1..61fd93c 100644 --- a/spug_web/src/pages/deploy/app/Ext1Setup3.js +++ b/spug_web/src/pages/deploy/app/Ext1Setup3.js @@ -81,6 +81,7 @@ class Ext1Setup3 extends React.Component { className={full === '1' ? styles.fullScreen : null} label={}> }> + label={}> }> }> }> + label={}> }> store.ext2Visible = false} diff --git a/spug_web/src/pages/deploy/app/Ext2Setup3.js b/spug_web/src/pages/deploy/app/Ext2Setup3.js index 0e03b15..66aefa1 100644 --- a/spug_web/src/pages/deploy/app/Ext2Setup3.js +++ b/spug_web/src/pages/deploy/app/Ext2Setup3.js @@ -63,6 +63,7 @@ class Ext2Setup3 extends React.Component { this.setState({showTmp: true})}>从模板添加}> - this.handleExtra('4', cleanCommand(e))}/> + this.handleExtra('4', cleanCommand(e))}/> {getFieldDecorator('desc', {initialValue: info['desc']})( diff --git a/spug_web/src/pages/schedule/Form.js b/spug_web/src/pages/schedule/Form.js index 427fe3e..85a97e7 100644 --- a/spug_web/src/pages/schedule/Form.js +++ b/spug_web/src/pages/schedule/Form.js @@ -193,8 +193,9 @@ class ComForm extends React.Component { this.setState({command: val})} - height="150px"/> + width="100%" + height="150px" + onChange={val => this.setState({command: val})}/> {getFieldDecorator('rst_notify.value', {initialValue: info['rst_notify']['value']})(