feat: 重构前端

This commit is contained in:
tbphp
2025-07-02 17:15:10 +08:00
parent 6a96c4464b
commit f15d0dd8da
102 changed files with 5392 additions and 10344 deletions

View File

@@ -1,20 +1,7 @@
<template>
<div id="app">
<router-view />
</div>
</template>
<script setup lang="ts">
// App.vue 现在只需要渲染路由视图
// 路由器会决定是渲染 Login 组件还是 MainLayout 组件
console.log("App.vue loaded");
import Layout from '@/components/Layout.vue'
</script>
<style>
#app {
width: 100%;
min-height: 100vh;
margin: 0;
padding: 0;
}
</style>
<template>
<layout />
</template>