1
0
forked from Leaf/amber-ui

改进 手机显示

This commit is contained in:
Twilight 2024-09-15 23:17:57 +08:00
parent 04d4657934
commit 529b250416

View File

@ -137,7 +137,7 @@ const isMobile = useIsMobile();
const showDrawer = ref(false);
const width = computed(() => {
if (isMobile.value) {
// return window.innerWidth;
return window.innerWidth;
} else {
return window.innerWidth * 0.4;
}