优化 Vuetify 组件的默认设置:为 VMenu 和 VRangeSlider 添加 menuProps 属性以去除阴影效果,提升视觉一致性。

This commit is contained in:
jxxghp
2025-04-22 13:15:55 +08:00
parent c2bca6fc3f
commit 3af1013c34
2 changed files with 6 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ export default {
variant: 'outlined',
color: 'primary',
hideDetails: 'auto',
menuProps: { elevation: 0 },
},
VRangeSlider: {
// set v-range-slider default color to primary
@@ -127,6 +128,7 @@ export default {
variant: 'outlined',
color: 'primary',
hideDetails: 'auto',
menuProps: { elevation: 0 },
},
VFileInput: {
variant: 'outlined',

View File

@@ -318,6 +318,10 @@ html.v-overlay-scroll-blocked {
padding: 0;
}
.v-menu .v-overlay__content {
box-shadow: none !important;
}
// 透明主题特殊样式
.transparent-app {