-
文件过滤:
+
+
文件过滤 :
store.deploy['filter_rule']['type'] = e.target.value}>
包含
-
+
排除
-
+
- {this.state.full === '1' ? (
-
this.setState({full: ''})}>退出全屏
- ) : (
-
this.setState({full: '1'})}>全屏
- )}
+
+ this.handleFullscreen('1')}>{this.state.full ? '退出全屏' : '全屏'}
+
);
NormalLabel = (props) => (
-
-
- {props.title}:
-
-
-
-
- {this.state.full ? (
-
this.setState({full: ''})}>退出全屏
- ) : (
-
this.setState({full: props.id})}>全屏
- )}
+
+
{props.title} :
+
+
+
+
+ this.handleFullscreen(props.id)}>{this.state.full ? '退出全屏' : '全屏'}
+
);
@@ -101,10 +104,8 @@ class Ext1Setup3 extends React.Component {
- }>
+
+
info['filter_rule']['data'] = cleanCommand(v)}
style={{border: '1px solid #e8e8e8'}}/>
-
- }>
+
+
+
info['hook_pre_server'] = cleanCommand(v)}
style={{border: '1px solid #e8e8e8'}}/>
-
- }>
+
+
+
info['hook_pre_host'] = cleanCommand(v)}
style={{border: '1px solid #e8e8e8'}}/>
-
+
-
+
基础设置
-
+
检出代码
-
+
版本切换
- }>
+
+
info['custom_envs'] = cleanCommand(v)}
style={{border: '1px solid #e8e8e8'}}/>
-
- }>
+
+
+
info['hook_post_server'] = cleanCommand(v)}
style={{border: '1px solid #e8e8e8'}}/>
-
- }>
+
+
+
info['hook_post_host'] = cleanCommand(v)}
style={{border: '1px solid #e8e8e8'}}/>
-
+
diff --git a/spug_web/src/pages/deploy/app/Ext2Setup1.js b/spug_web/src/pages/deploy/app/Ext2Setup1.js
index 0c6c00f..2f1ad84 100644
--- a/spug_web/src/pages/deploy/app/Ext2Setup1.js
+++ b/spug_web/src/pages/deploy/app/Ext2Setup1.js
@@ -6,7 +6,7 @@
import React, { useState, useEffect } from 'react';
import { observer } from 'mobx-react';
import { Link } from 'react-router-dom';
-import { Switch, Col, Form, Select, Button, Input } from "antd";
+import { Form, Switch, Select, Button, Input } from "antd";
import envStore from 'pages/config/environment/store';
import store from './store';
@@ -29,17 +29,17 @@ export default observer(function Ext2Setup1() {
const info = store.deploy;
return (
-
+
+
-
-
+
+
新建环境
-
+
钉钉收不到通知?
}>
- info['rst_notify']['mode'] = v}>
- 关闭
- 钉钉
- 企业微信
- Webhook
-
- )}
- disabled={store.isReadOnly || info['rst_notify']['mode'] === '0'}
- value={info['rst_notify']['value']}
- onChange={e => info['rst_notify']['value'] = e.target.value}
- placeholder="请输入"/>
+ info['rst_notify']['mode'] = v}>
+ 关闭
+ 钉钉
+ 企业微信
+ Webhook
+
+ )}
+ disabled={store.isReadOnly || info['rst_notify']['mode'] === '0'}
+ value={info['rst_notify']['value']}
+ onChange={e => info['rst_notify']['value'] = e.target.value}
+ placeholder="请输入"/>
))}
diff --git a/spug_web/src/pages/deploy/app/Ext2Setup3.js b/spug_web/src/pages/deploy/app/Ext2Setup3.js
index cb86f0f..0a9ec1d 100644
--- a/spug_web/src/pages/deploy/app/Ext2Setup3.js
+++ b/spug_web/src/pages/deploy/app/Ext2Setup3.js
@@ -5,7 +5,8 @@
*/
import React from 'react';
import { observer } from 'mobx-react';
-import { Form, Input, Button, message, Divider, Alert, Icon, Select } from 'antd';
+import { MinusCircleOutlined, PlusOutlined } from '@ant-design/icons';
+import { Form, Input, Button, message, Divider, Alert, Select } from 'antd';
import Editor from 'react-ace';
import 'ace-builds/src-noconflict/mode-sh';
import 'ace-builds/src-noconflict/theme-tomorrow';
@@ -81,7 +82,7 @@ class Ext2Setup3 extends React.Component {
{!store.isReadOnly && (
server_actions.splice(index, 1)}>
- 移除
+ 移除
)}
@@ -89,7 +90,7 @@ class Ext2Setup3 extends React.Component {
{!store.isReadOnly && (
)}
@@ -159,7 +160,7 @@ class Ext2Setup3 extends React.Component {
)}
{!store.isReadOnly && (
host_actions.splice(index, 1)}>
- 移除
+ 移除
)}
@@ -167,14 +168,15 @@ class Ext2Setup3 extends React.Component {
{!store.isReadOnly && (