diff --git a/src/pages/index.less b/src/pages/index.less index 2a93d37..d38b0a1 100644 --- a/src/pages/index.less +++ b/src/pages/index.less @@ -5,6 +5,31 @@ align-items: center; justify-content: center; background: #E8F7FF; + + .contentWrap { + width: 800px; + height: 500px; + border: 2px solid #999; + + .title { + padding: 20px; + border-bottom: 2px solid #999; + } + + .content { + display: flex; + align-items: center; + justify-content: space-between; + + .cleft{ + margin-top:20px; + margin-left:10px; + width:500px; + height:400px; + background-color:#000; + } + } + } } .item_warp { diff --git a/src/pages/restartService.tsx b/src/pages/restartService.tsx index 1d16ac7..c6f18d0 100644 --- a/src/pages/restartService.tsx +++ b/src/pages/restartService.tsx @@ -3,6 +3,7 @@ import styles from './index.less'; import { RedoOutlined } from '@ant-design/icons'; import { useParams } from 'umi'; import { message } from 'antd'; +import ButtonComp from '@/components/ButtonComp'; interface PageProps { } @@ -12,7 +13,7 @@ const RestartService: FC = ({ }) => { let info = sysData ? JSON.parse(sysData) : null; return
-
= ({ }) => { >
重启服务
+
*/} +
+
服务控制台 一体化对称密码管理系统核心区
+
+
+
+ + + { + message.success('重启服务成功!') + localStorage.setItem(`${urlParams?.fileType}`, JSON.stringify({ ...info, restartService: true })) + }} /> + + + + +
+
}