fix: 移动端塌缩

This commit is contained in:
ChenZhaoYu 2023-05-04 11:19:25 +08:00
parent 3dff5bd4c8
commit 0f51e51827
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ watch(
</div>
</NLayoutSider>
<template v-if="isMobile">
<div v-show="!collapsed" class="fixed inset-0 z-40 bg-black/40" @click="handleUpdateCollapsed" />
<div v-show="!collapsed" class="fixed inset-0 z-40 w-full h-full bg-black/40" @click="handleUpdateCollapsed" />
</template>
<PromptStore v-model:visible="show" />
</template>