forked from Leaf/amber-ui
改进 手机显示
This commit is contained in:
parent
04d4657934
commit
529b250416
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user