update
This commit is contained in:
parent
1958abd246
commit
57a9b5adc5
|
@ -4,7 +4,7 @@
|
|||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Vite + Vue</title>
|
||||
<title>对话</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
|
|
@ -15,7 +15,7 @@ import Sidebar from '../components/Sidebar.vue'
|
|||
<style scoped>
|
||||
.main-layout {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
height: calc(100vh - var(--vh-offset, 0px));
|
||||
/* min-width: 640px; */
|
||||
overflow: hidden; /* 防止内部滚动影响布局 */
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@ import App from "./App.vue";
|
|||
import {router} from "@/router/index";
|
||||
import { createPinia } from "pinia";
|
||||
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
|
||||
import vhCheck from 'vh-check'
|
||||
|
||||
// 引入 Element Plus
|
||||
import ElementPlus from 'element-plus'
|
||||
|
@ -20,4 +21,5 @@ app.use(router);
|
|||
app.use(ElementPlus, {
|
||||
locale: zhCn,
|
||||
})
|
||||
app.mount("#app");
|
||||
app.mount("#app");
|
||||
vhCheck()
|
Loading…
Reference in New Issue