mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): 细节优化
This commit is contained in:
10
src/typings/env.d.ts
vendored
10
src/typings/env.d.ts
vendored
@ -6,6 +6,16 @@
|
||||
*/
|
||||
type EnvType = 'dev' | 'test' | 'prod';
|
||||
|
||||
/**
|
||||
* env环境配置
|
||||
*/
|
||||
interface EnvConfig {
|
||||
/** 请求地址 */
|
||||
url: string;
|
||||
/** 代理地址 */
|
||||
proxy: string;
|
||||
}
|
||||
|
||||
interface ImportMetaEnv {
|
||||
/** 项目基本地址 */
|
||||
readonly VITE_BASE_URL: string;
|
||||
|
Reference in New Issue
Block a user