diff --git a/spug_web/src/pages/config/setting/TableView.js b/spug_web/src/pages/config/setting/TableView.js
index 2fdca4b..e147b1a 100644
--- a/spug_web/src/pages/config/setting/TableView.js
+++ b/spug_web/src/pages/config/setting/TableView.js
@@ -15,7 +15,7 @@ import store from './store';
@observer
class TableView extends React.Component {
lockIcon =
-
+
;
columns = [{
@@ -47,8 +47,10 @@ class TableView extends React.Component {
render: info => (
store.showForm(info)}>编辑
- this.handleDelete(info)}>删除
+ this.handleDelete(info)}>删除
)
}];
diff --git a/spug_web/src/pages/config/setting/index.js b/spug_web/src/pages/config/setting/index.js
index af6a1f2..64a3097 100644
--- a/spug_web/src/pages/config/setting/index.js
+++ b/spug_web/src/pages/config/setting/index.js
@@ -5,20 +5,19 @@
*/
import React from 'react';
import { observer } from 'mobx-react';
-import { Menu, Input, Button, PageHeader, Modal, Space, Radio } from 'antd';
+import { Menu, Input, Button, PageHeader, Modal, Space, Radio, Form } from 'antd';
import {
DiffOutlined,
HistoryOutlined,
NumberOutlined,
- SyncOutlined,
TableOutlined,
UnorderedListOutlined,
- PlusOutlined,
+ PlusOutlined
} from '@ant-design/icons';
import envStore from '../environment/store';
import styles from './index.module.css';
import history from 'libs/history';
-import { SearchForm, AuthDiv, AuthButton, Breadcrumb } from 'components';
+import { AuthDiv, AuthButton, Breadcrumb } from 'components';
import DiffConfig from './DiffConfig';
import TableView from './TableView';
import TextView from './TextView';
@@ -100,36 +99,31 @@ class Index extends React.Component {
-
-
+
this.setState({view: e.target.value})}>
-
-
+
+
store.f_name = e.target.value} placeholder="请输入"/>
-
-
-
-
-
-
- }
- onClick={() => store.showForm()}>新增配置
-
-
-
-
+
+
+ }
+ onClick={() => store.showForm()}>新增配置
+
+
+
{view === '1' &&
}
{view === '2' &&
this.textView = ref}/>}