优化运维中心前端效果

pull/1682/head
648540858 2024-11-01 17:59:55 +08:00
parent 1c9dc01314
commit 84be003a8f
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<template> <template>
<div id="operations" style="width: 100%;height: 100%"> <div id="operations" style="width: 100%; height: 100%">
<el-container style="height: 82vh;"> <el-container >
<el-aside width="200px" style="text-align: left"> <el-aside width="200px" style="text-align: left">
<el-menu :default-active="activeIndex" :height="winHeight" @select="handleSelect"> <el-menu :default-active="activeIndex" :height="winHeight" @select="handleSelect">
<el-menu-item index="systemInfo"> <el-menu-item index="systemInfo">
@ -38,7 +38,7 @@ export default {
data() { data() {
return { return {
loading: false, loading: false,
winHeight: (window.innerHeight - 160) + "px", winHeight: (window.innerHeight - 150) + "px",
data: [], data: [],
filter: "", filter: "",
activeIndex: "logFile" activeIndex: "logFile"

View File

@ -19,7 +19,7 @@ export default {
data() { data() {
return { return {
loading: false, loading: false,
winHeight: window.innerHeight - 160, winHeight: window.innerHeight - 180,
data: [], data: [],
filter: "", filter: "",
websocket: null, websocket: null,