当前位置:网站首页>后台系统右边内容如何出现滚动条和解决双滚动条的问题
后台系统右边内容如何出现滚动条和解决双滚动条的问题
2022-07-01 03:13:00 【ohm_coder】
1. 在<router-view />这里标签包住
<!-- 右边内容 -->
<div class="content_container">
<router-view></router-view>
</div>css
// 右边内容
.content_container {
position: absolute;
top: 70px;
left: 250px;
right: 0;
bottom: 0;
overflow-y: auto;
}关于css这样写的解释

2. 出现双滚动条

解决方式
在app.vue文件

代码
#app {
height: 100%;
overflow: hidden;
}完美解决
边栏推荐
- Multithreaded printing
- leetcode 1482 猜猜看啊,这道题目怎么二分?
- File upload and download
- C language EXECL function
- xxl-job使用指南
- Elk elegant management server log
- Introduction to core functions of webrtc -- an article on understanding SDP PlanB unifiedplan (migrating from PlanB to unifiedplan)
- JUC学习
- Feign远程调用和Getaway网关
- 8 pits of redis distributed lock
猜你喜欢

Redis 教程

终极套娃 2.0 | 云原生交付的封装

File upload and download

Edge Drawing: A combined real-time edge and segment detector 翻译

Depth first traversal of C implementation Diagram -- non recursive code

Stop saying that you can't solve the "cross domain" problem

第03章_用戶與權限管理

如何校验两个文件内容是否相同

Multithreaded printing

安装VCenter6.7【VCSA6.7(vCenter Server Appliance 6.7) 】
随机推荐
C#实现基于广度优先BFS求解无权图最短路径----完整程序展示
Install vcenter6.7 [vcsa6.7 (vCenter server appliance 6.7)]
[linear DP] shortest editing distance
MySQL knowledge points
EDLines: A real-time line segment detector with a false detection control翻译
IEDA 右键源码文件菜单简介
[applet project development -- JD mall] uni app commodity classification page (Part 2)
split(),splice(),slice()傻傻分不清楚?
Introduction to EtherCAT
Ridge regression and lasso regression
Edge Drawing: A combined real-time edge and segment detector 翻译
Detailed explanation of ES6 deconstruction grammar
Data exchange JSON
终极套娃 2.0 | 云原生交付的封装
世界上最好的学习法:费曼学习法
[small program project development -- Jingdong Mall] the home page commodity floor of uni app
Keil5中如何做到 0 Error(s), 0 Warning(s).
So easy deploy program to server
[applet project development -- Jingdong Mall] user defined search component of uni app (Part 1)
BluePrism注册下载并安装-RPA第一章