This commit is contained in:
oneao committed 2026-03-20 16:58:54 +08:00
1 parent c330e52fd3
commit 87d63b6542
341 files changed
+128714 -48

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
<script setup>
import { onMounted } from 'vue'
import { useRoute } from 'vue-router'
import BaseLayout from './layout/base-layout/index.vue'
import { useUserStore } from './stores/userStore'
const route = useRoute()
const userStore = useUserStore()
onMounted(() => {
userStore.initPermission()
})
</script>
<template>
<BaseLayout v-if="route.fullPath !== '/login'" />
<RouterView v-else />
</template>