🐞 fix:紧急修复了滚动条

This commit is contained in:
sundongyu 2024-04-16 16:18:01 +08:00
parent ff926d6f91
commit 243ce97421
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<template> <template>
<div style="height: 100%"> <div style="height: 100%">
<t-menu style="height: 100vh"> <t-menu style="height: 92vh">
<t-submenu value="1" title="首页"> <t-submenu value="1" title="首页">
<template #icon> <template #icon>
<t-icon name="home" /> <t-icon name="home" />

View File

@ -186,7 +186,7 @@ pre {
.back-color { .back-color {
background-color: #f5f7fb; background-color: #f5f7fb;
padding: 16px 24px; padding: 16px 24px;
height: calc(101vh - 64px); height: calc(96vh - 64px);
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
} }

View File

@ -26,7 +26,7 @@
.back-color { .back-color {
background-color: #f5f7fb; background-color: #f5f7fb;
padding: 16px 24px; padding: 16px 24px;
height: calc(101vh - 64px); height: calc(96vh - 64px);
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
} }