mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-11 20:05:44 +00:00
feat: 重构前端项目结构并优化代码
refactor: 迁移前端资源文件至web目录 feat: 新增多种图标资源 style: 统一代码风格和格式化配置 docs: 更新README和文档说明 chore: 更新依赖和配置文件 fix: 修复部分类型定义和枚举 perf: 优化路由和组件加载逻辑
This commit is contained in:
+34
@@ -0,0 +1,34 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
declare module 'nprogress';
|
||||
|
||||
declare module 'crypto-js';
|
||||
|
||||
declare module 'vue-img-cutter';
|
||||
|
||||
declare module 'file-saver';
|
||||
|
||||
declare module 'qrcode.vue' {
|
||||
export type Level = 'L' | 'M' | 'Q' | 'H';
|
||||
export type RenderAs = 'canvas' | 'svg';
|
||||
export type GradientType = 'linear' | 'radial';
|
||||
export interface ImageSettings {
|
||||
src: string;
|
||||
height: number;
|
||||
width: number;
|
||||
excavate: boolean;
|
||||
}
|
||||
export interface QRCodeProps {
|
||||
value: string;
|
||||
size?: number;
|
||||
level?: Level;
|
||||
background?: string;
|
||||
foreground?: string;
|
||||
renderAs?: RenderAs;
|
||||
}
|
||||
const QrcodeVue: any;
|
||||
export default QrcodeVue;
|
||||
}
|
||||
|
||||
// 全局变量声明
|
||||
declare const __APP_VERSION__: string; // 版本号
|
||||
Reference in New Issue
Block a user