From 3509e4a15df7f7890af184cdb4e9aa4bb71eb607 Mon Sep 17 00:00:00 2001 From: xd <844539747@qq.com> Date: Mon, 18 Mar 2024 16:36:24 +0800 Subject: [PATCH] '1123' --- ruoyi-ui/src/views/storageLocation/locationConsuming.vue | 4 ++-- ruoyi-ui/src/views/storageLocation/locationSet.vue | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/views/storageLocation/locationConsuming.vue b/ruoyi-ui/src/views/storageLocation/locationConsuming.vue index 1d683f1..14a7bde 100644 --- a/ruoyi-ui/src/views/storageLocation/locationConsuming.vue +++ b/ruoyi-ui/src/views/storageLocation/locationConsuming.vue @@ -401,8 +401,8 @@ } /*卡片内容滚动条设置*/ - ::-webkit-scrollbar { - display: none; /* Chrome Safari */ + .scrollable::-webkit-scrollbar { + display: none; /* 对于Webkit浏览器 */ } .scrollable{ overflow: auto; /* 自动开启滚动条 */ diff --git a/ruoyi-ui/src/views/storageLocation/locationSet.vue b/ruoyi-ui/src/views/storageLocation/locationSet.vue index 920ccad..5c1535a 100644 --- a/ruoyi-ui/src/views/storageLocation/locationSet.vue +++ b/ruoyi-ui/src/views/storageLocation/locationSet.vue @@ -221,7 +221,7 @@ - + @@ -237,9 +237,9 @@ } /*卡片内容滚动条设置*/ - /*::-webkit-scrollbar { - display: none; !* Chrome Safari *! - }*/ + .scrollable::-webkit-scrollbar { + display: none; /* 对于Webkit浏览器 */ + } .scrollable{ overflow: auto; /* 自动开启滚动条 */ max-height: 600px; /* 设置最大高度 */