diff --git a/src/components/Layout.vue b/src/components/Layout.vue
index 540e1c5..76e3cc9 100644
--- a/src/components/Layout.vue
+++ b/src/components/Layout.vue
@@ -40,7 +40,6 @@
{{ route.meta.title }}
-
@@ -80,7 +79,7 @@ export default defineComponent({
const selectedKeys = ref(['1'])
const {username} = storeToRefs(useStore())
let container = {
- padding: '24px', background: '#fff', minHeight: '100%'
+ padding: '24px', background: '#fff', minHeight: '100%',
}
const router = useRouter()
const route = useRoute()
diff --git a/src/view/Monit.vue b/src/view/Monit.vue
index 585e620..e5d1fef 100644
--- a/src/view/Monit.vue
+++ b/src/view/Monit.vue
@@ -2,13 +2,10 @@
- 系统用户:qiangyanwen
- 在线用户:1
- 系统当前时间:2022-08-22 14:55:43
- 系统开机时间:2022-08-22 14:55:43
-
-
-
+ 在线用户:{{sysparams.name}}
+ 用户数量:{{sysparams.count}}
+ 系统当前时间:{{sysparams.current_time}}
+ 系统开机时间:{{sysparams.start_time}}
@@ -24,9 +21,16 @@
@@ -80,8 +119,8 @@ const memory = ref({
width: 300px;
}
.a-card{
- width: 350px;
- height: 350px;
+ width: 300px;
+ height: 300px;
}
.charts {