Initial commit: One Pipe System
完整的管理系统,包含账户管理、卡片管理、套餐管理、财务管理等功能模块。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
54
src/env.d.ts
vendored
Normal file
54
src/env.d.ts
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
declare module '*.vue' {
|
||||
import { DefineComponent } from 'vue'
|
||||
const component: DefineComponent<object, object, any>
|
||||
export default component
|
||||
}
|
||||
|
||||
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 // 版本号
|
||||
|
||||
// 环境变量提示
|
||||
// interface ImportMetaEnv {
|
||||
// VITE_BASE_API_URL: string
|
||||
// }
|
||||
|
||||
// 导入 vue-i18n 的类型定义
|
||||
// import 'vue-i18n';
|
||||
|
||||
// declare module 'vue' {
|
||||
// interface ComponentCustomProperties {
|
||||
// $t: typeof import('vue-i18n').t;
|
||||
// }
|
||||
// }
|
||||
Reference in New Issue
Block a user