From ae521d93c69aec4811bce5af054d1e177404c6ad Mon Sep 17 00:00:00 2001 From: vapao Date: Sat, 24 Jul 2021 10:45:20 +0800 Subject: [PATCH] fix issue --- spug_web/src/pages/config/app/Table.js | 1 - spug_web/src/pages/config/setting/index.js | 34 +++++++++++++--------- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/spug_web/src/pages/config/app/Table.js b/spug_web/src/pages/config/app/Table.js index 3418e22..dc22064 100644 --- a/spug_web/src/pages/config/app/Table.js +++ b/spug_web/src/pages/config/app/Table.js @@ -62,7 +62,6 @@ class ComTable extends React.Component { showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }}> - index + 1}/> diff --git a/spug_web/src/pages/config/setting/index.js b/spug_web/src/pages/config/setting/index.js index 6b7a2c8..af6a1f2 100644 --- a/spug_web/src/pages/config/setting/index.js +++ b/spug_web/src/pages/config/setting/index.js @@ -5,7 +5,7 @@ */ import React from 'react'; import { observer } from 'mobx-react'; -import { Menu, Input, Button, Select, PageHeader, Modal } from 'antd'; +import { Menu, Input, Button, PageHeader, Modal, Space, Radio } from 'antd'; import { DiffOutlined, HistoryOutlined, @@ -102,11 +102,11 @@ class Index extends React.Component {
- + this.setState({view: e.target.value})}> + + + + store.f_name = e.target.value} placeholder="请输入"/> @@ -114,14 +114,20 @@ class Index extends React.Component { - - - - - } onClick={() => store.showForm()}>新增配置 + + + } + onClick={() => store.showForm()}>新增配置 + +