feat: 前端认证
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<template>
|
||||
<MainLayout />
|
||||
<router-view />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import MainLayout from './layouts/MainLayout.vue';
|
||||
// App.vue 现在只需要渲染路由视图
|
||||
// 路由器会决定是渲染 Login 组件还是 MainLayout 组件
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user