fix(UI) main view h-screen has no effect on windows10

This commit is contained in:
kerms 2024-06-15 16:31:55 +08:00
parent 4f50883e8c
commit 8d52ff6690
1 changed files with 7 additions and 2 deletions

View File

@ -11,7 +11,6 @@ import {ControlEvent, ControlMsgType} from "@/api";
import {routeCtrlMsg, routeModuleServerMsg} from "@/router/msgRouter";
import {globalNotify} from "@/composables/notification";
import {isDevMode} from "@/composables/buildMode";
import {ElMessageBox} from "element-plus";
import {useSystemModule} from "@/composables/useSystemModule";
import {useDataFlowModule} from "@/composables/useDataFlowModule";
@ -61,10 +60,16 @@ onUnmounted(() => {
</script>
<template>
<div class="flex flex-col h-screen">
<div class="flex flex-col wt-h-100">
<header>
<nav-bar/>
</header>
<RouterView/>
</div>
</template>
<style>
.wt-h-100 {
height: 100vh;
}
</style>