This commit is contained in:
qiangyanwen 2022-08-14 20:05:05 +08:00
parent 5b1b94a4d6
commit 5e0b7e73c3
3 changed files with 8 additions and 4 deletions

View File

@ -45,7 +45,7 @@
</div> </div>
</a-layout-content> </a-layout-content>
<a-layout-footer style="text-align: center"> <a-layout-footer style="text-align: center">
自动化测试研发 ©2022 研发部 自动化研发 ©2022 研发部
</a-layout-footer> </a-layout-footer>
</a-layout> </a-layout>
</a-layout> </a-layout>

View File

@ -34,7 +34,7 @@
<script> <script>
import {UserOutlined, LockOutlined} from '@ant-design/icons-vue'; import {UserOutlined, LockOutlined} from '@ant-design/icons-vue';
import {useRouter} from 'vue-router' import {useRouter} from 'vue-router'
import {reactive, toRaw, ref} from 'vue' import {reactive, ref} from 'vue'
import {message} from 'ant-design-vue'; import {message} from 'ant-design-vue';
import {useStore} from "@/store"; import {useStore} from "@/store";
import {Login} from '@/api/user'; import {Login} from '@/api/user';

View File

@ -1,10 +1,10 @@
<template> <template>
<div class="charts" style="background: #fff; padding: 15px"> <div class="charts" style="background: #fff; padding: 15px">
<a-card title="cpu使用率" :bordered="false" style="width: 350px;height:350px"> <a-card title="cpu使用率" :bordered="false">
<echarts class="chart" :option="option"/> <echarts class="chart" :option="option"/>
</a-card> </a-card>
<a-card title="memory使用率" :bordered="false" style="width: 350px;height:350px"> <a-card title="memory使用率" :bordered="false">
<echarts class="chart" :option="memory"/> <echarts class="chart" :option="memory"/>
</a-card> </a-card>
@ -70,6 +70,10 @@ const memory = ref({
height: 300px; height: 300px;
width: 300px; width: 300px;
} }
.a-card{
width: 350px;
height: 350px;
}
.charts { .charts {
display: flex; display: flex;