From 7ec8132b0353cb2f99b4e7b73fb91800e63ef3a5 Mon Sep 17 00:00:00 2001 From: zyupo Date: Wed, 28 Apr 2021 15:40:53 +0800 Subject: [PATCH] =?UTF-8?q?U=20=E5=A2=9E=E5=8A=A0=E4=B8=BB=E6=9C=BAweb?= =?UTF-8?q?=E7=BB=88=E7=AB=AF=E6=9D=83=E9=99=90=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_web/src/pages/host/Table.js | 2 +- spug_web/src/pages/host/index.js | 4 ++-- spug_web/src/pages/system/role/codes.js | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) 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',