Update DefaultLayout.vue to fix conditional rendering of the back button

This commit is contained in:
jxxghp
2024-11-12 20:42:02 +08:00
parent 935b2c4edb
commit 539a7de1ad

View File

@@ -64,7 +64,7 @@ onMounted(() => {
<VIcon icon="mdi-menu" />
</IconBtn>
<!-- 👉 Back Button -->
<IconBtn v-if="appMode && display.lgAndUp" class="ms-n2" @click="goBack">
<IconBtn v-if="appMode && display.lgAndUp.value" class="ms-n2" @click="goBack">
<VIcon icon="mdi-arrow-left" size="32" />
</IconBtn>
<!-- 👉 Search Bar -->