feat: 前端认证

This commit is contained in:
tbphp
2025-07-01 12:52:38 +08:00
parent 92fdd6d680
commit c447e3ad0b
10 changed files with 545 additions and 66 deletions

View File

@@ -1,7 +1,8 @@
<template>
<MainLayout />
<router-view />
</template>
<script setup lang="ts">
import MainLayout from './layouts/MainLayout.vue';
// App.vue 现在只需要渲染路由视图
// 路由器会决定是渲染 Login 组件还是 MainLayout 组件
</script>