接入前端登录权限底座

This commit is contained in:
andy
2026-07-09 20:42:16 +08:00
parent c190d5e3a8
commit e49b2ccc1d
27 changed files with 1745 additions and 68 deletions

View File

@@ -1,11 +1,16 @@
<template>
<ReservationAppShell>
<RouterView v-if="plainLayout" />
<ReservationAppShell v-else>
<RouterView />
</ReservationAppShell>
</template>
<script setup lang="ts">
import { RouterView } from 'vue-router'
import { computed } from 'vue'
import { RouterView, useRoute } from 'vue-router'
import ReservationAppShell from '@/layouts/ReservationAppShell.vue'
const route = useRoute()
const plainLayout = computed(() => route.meta.layout === 'plain')
</script>