添加 IntelliJ IDEA 项目配置文件

This commit is contained in:
ylweng
2025-09-02 21:59:27 +08:00
parent 59cfe620fe
commit 501c218a83
56 changed files with 11886 additions and 126 deletions

38
admin-system/src/App.vue Normal file
View File

@@ -0,0 +1,38 @@
<template>
<div id="app">
<router-view />
</div>
</template>
<script setup lang="ts">
import { onMounted } from 'vue'
import { useUserStore } from './stores/user'
const userStore = useUserStore()
onMounted(() => {
// 应用初始化时检查登录状态
userStore.checkLoginStatus()
})
</script>
<style lang="scss">
#app {
height: 100vh;
overflow: hidden;
}
// 全局样式重置
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
font-size: 14px;
color: #333;
background-color: #f0f2f5;
}
</style>