perf: 补充注释

This commit is contained in:
xiaoxian521
2022-11-17 18:12:03 +08:00
parent fb734f3394
commit cadd611559
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
/** 处理环境变量 */
const warpperEnv = (envConf: Recordable): ViteEnv => {
/** 此处为默认值,无需修改 */
/** 此处为默认值 */
const ret: ViteEnv = {
VITE_PORT: 8848,
VITE_PUBLIC_PATH: "",
@@ -28,7 +28,7 @@ const warpperEnv = (envConf: Recordable): ViteEnv => {
return ret;
};
/** 环境变量 */
/** 获取环境变量 */
const loadEnv = (): ViteEnv => {
return import.meta.env;
};