diff --git a/spug_web/src/pages/host/Table.js b/spug_web/src/pages/host/Table.js index c601827..4966fb1 100644 --- a/spug_web/src/pages/host/Table.js +++ b/spug_web/src/pages/host/Table.js @@ -62,7 +62,7 @@ function ComTable() { type="primary" icon={} onClick={() => store.showForm()}>新建, - + diff --git a/spug_web/src/pages/host/index.js b/spug_web/src/pages/host/index.js index 60f3b4f..8b918ad 100644 --- a/spug_web/src/pages/host/index.js +++ b/spug_web/src/pages/host/index.js @@ -7,7 +7,7 @@ import React from 'react'; import { observer } from 'mobx-react'; import { Row, Col, Button } from 'antd'; import { CodeOutlined } from '@ant-design/icons'; -import { AuthDiv, Breadcrumb } from 'components'; +import { AuthDiv, Breadcrumb, AuthButton } from 'components'; import Group from './Group'; import ComTable from './Table'; import ComForm from './Form'; @@ -24,7 +24,7 @@ export default observer(function () { return ( - } onClick={openTerminal}>Web 终端}> + } onClick={openTerminal}>Web 终端}> 首页 主机管理 diff --git a/spug_web/src/pages/system/role/codes.js b/spug_web/src/pages/system/role/codes.js index ee6d46c..a6bf0fa 100644 --- a/spug_web/src/pages/system/role/codes.js +++ b/spug_web/src/pages/system/role/codes.js @@ -22,9 +22,10 @@ export default [{ perms: [ {key: 'view', label: '查看主机'}, {key: 'add', label: '新建主机'}, + {key: 'import', label: '批量导入'}, {key: 'edit', label: '编辑主机'}, {key: 'del', label: '删除主机'}, - {key: 'console', label: 'Console'}, + {key: 'console', label: 'Web终端'}, ] }, { key: 'console',