diff --git a/src/layouts/components/ShortcutBar.vue b/src/layouts/components/ShortcutBar.vue index a74329cb..723b5afb 100644 --- a/src/layouts/components/ShortcutBar.vue +++ b/src/layouts/components/ShortcutBar.vue @@ -7,6 +7,10 @@ import ModuleTestView from '@/views/system/ModuleTestView.vue' import MessageView from '@/views/system/MessageView.vue' import store from '@/store' import api from '@/api' +import { useDisplay } from 'vuetify' + +// 显示器宽度 +const displayWidth = useDisplay().width // App捷径 const appsMenu = ref(false) @@ -245,6 +249,7 @@ onMounted(() => { v-if="nameTestDialog" v-model="nameTestDialog" max-width="50rem" + :fullscreen="displayWidth < (50 * 16)" >