mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-21 04:46:26 +00:00
- 清理冗余代码与配置: - 删除废弃的 mock 适配器、通用 mock 模块与示例API - 移除冗余的 ts 类型文件与 patch 目录 - 简化 tsconfig 组件路径配置 - 新增功能与优化: - 新增全局水印组件与水印配置 - 接入微信小程序登录/手机号登录 - 新增系统参数配置 store 与国际化支持 - 新增 markdown 渲染插件与样式配置 - 优化 pinia 持久化逻辑修复 - 新增微信小程序 access_token 缓存配置 - 修复登录趋势数据结构定义 - 优化全局请求防抖重定向逻辑 - 页面与路由优化: - 补全引导页首次启动逻辑 - 统一页面底部安全区适配 - 更新页面路由类型声明 - 代码质量优化: - 移除无用 console.log 调试代码 - 修复全局弹窗重复重登录问题 - 优化 mp-html 组件配置
26 lines
653 B
Vue
26 lines
653 B
Vue
<script setup lang="ts">
|
|
import type { ConfigProviderProps } from '@wot-ui/ui/components/wd-config-provider/types'
|
|
|
|
const { themeVars, theme } = useManualTheme()
|
|
|
|
const buttonConfig: ConfigProviderProps['button'] = {
|
|
size: 'large',
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<wd-config-provider :theme-vars="themeVars" :theme="theme" :button="buttonConfig" :custom-class="`page-wraper ${theme}`">
|
|
<ku-root-view />
|
|
<wd-notify />
|
|
<wd-dialog />
|
|
<wd-toast />
|
|
<global-loading />
|
|
<global-toast />
|
|
<global-message />
|
|
<global-dialog />
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
<privacy-popup />
|
|
<!-- #endif -->
|
|
</wd-config-provider>
|
|
</template>
|