mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-11 20:05:44 +00:00
feat: 迁移前端资源文件并重构项目结构
refactor: 优化前端代码结构和资源管理 style: 调整前端代码格式和样式 chore: 更新.gitignore和构建配置 fix: 修复前端资源路径和引用问题 docs: 更新前端文档和注释 perf: 优化前端性能和加载速度 test: 更新前端测试用例 build: 调整前端构建配置 ci: 更新CI/CD配置
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