Files
FastapiAdmin/fastapp/src/layouts/default.vue
T
zhangtao c760a53f34 feat: 新增文件上传下载功能并优化用户认证流程
- 新增文件上传下载服务及API接口
- 重构用户认证模块,支持验证码登录
- 优化.env配置文件结构
- 更新前端API请求工具和类型定义
- 添加工作台菜单项
- 修复用户登出逻辑
- 统一API响应数据结构
2025-08-11 23:52:29 +08:00

37 lines
698 B
Vue

<script lang="ts" setup>
import { useTheme } from "@/composables/useTheme";
const { theme, themeVars } = useTheme();
</script>
<script lang="ts">
export default {
options: {
addGlobalClass: true,
virtualHost: true,
styleIsolation: "shared",
},
};
</script>
<template>
<wd-config-provider :theme-vars="themeVars" :theme="theme" :custom-class="`page-wraper ${theme}`">
<slot />
<wd-notify />
<wd-toast />
<wd-message-box />
</wd-config-provider>
</template>
<style lang="scss" scoped>
.page-wraper {
box-sizing: border-box;
min-height: calc(100vh - var(--window-top));
background: #f9f9f9;
}
.wot-theme-dark.page-wraper {
background: #222;
}
</style>