Huang 76afc21f12 feat
1.新增缓存加密
2.新增pinia全局状态管理
2022-06-10 15:46:39 +08:00

26 lines
711 B
TypeScript

// / <reference types="vite/client" />
import { DEFAULT_PREFIX_KEY } from '@/settings/encryptionSetting';
declare module '*.vue' {
import { DefineComponent } from 'vue';
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
const component: DefineComponent<{}, {}, any>;
export default component;
}
interface ImportMetaEnv {
readonly VITE_ENV: string;
readonly VITE_APP_TITLE: string;
readonly VITE_BASE_URL: string;
readonly VITE_PROXY_BASE_URL: string;
readonly VITE_UPLOAD_URL: string;
readonly VITE_PROD: boolean;
readonly VITE_DEV: boolean;
readonly VITE_APP_CACHE_PREFIX: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}