mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-29 23:44:41 +00:00
feat: 更新开发环境配置和部署脚本优化
- 将前端API基础URL切换为本地开发环境 - 登录表单添加默认测试账号 - 主题存储默认设置为暗色模式 - 添加用户信息到请求上下文 - 调整LOGO和登录页面样式 - 更新演示环境白名单和权限控制 - 优化部署脚本流程和日志输出 - 清理未使用的组件类型声明
This commit is contained in:
@@ -13,7 +13,7 @@ export interface ThemeColorOption {
|
||||
export type ThemeMode = "light" | "dark";
|
||||
|
||||
export const useThemeStore = defineStore("appTheme", () => {
|
||||
const theme = useStorage<ThemeMode>("app-theme", "light");
|
||||
const theme = useStorage<ThemeMode>("app-theme", "dark");
|
||||
|
||||
// 预定义的主题色选项
|
||||
const themeColorOptions: ThemeColorOption[] = [
|
||||
|
||||
Reference in New Issue
Block a user