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