From 6f5419d07e135c0696575ed3a83c51ed83efc944 Mon Sep 17 00:00:00 2001 From: vapao Date: Sat, 20 Jun 2020 14:29:20 +0800 Subject: [PATCH] =?UTF-8?q?U=20=E4=BC=98=E5=8C=96=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=94=AF=E6=8C=81=E8=87=AA=E5=8A=A8=E6=8D=A2?= =?UTF-8?q?=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_web/src/components/ACEditor.js | 1 + spug_web/src/pages/deploy/app/Ext1Form.js | 2 +- spug_web/src/pages/deploy/app/Ext1Setup3.js | 10 ++++++++-- spug_web/src/pages/deploy/app/Ext2Form.js | 2 +- spug_web/src/pages/deploy/app/Ext2Setup3.js | 2 ++ spug_web/src/pages/monitor/Form.js | 9 ++++++--- spug_web/src/pages/schedule/Form.js | 5 +++-- 7 files changed, 22 insertions(+), 9 deletions(-) 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']})(