diff --git a/.env b/.env index 9056d20..437c9ae 100644 --- a/.env +++ b/.env @@ -1,2 +1,8 @@ -# 默认环境(开发环境) -VITE_NODE_ENV=development +# 应用版本号 +VITE_APP_VERSION=1.0.0 + +# 构建时间戳(会在构建时自动更新) +VITE_BUILD_TIME="" + +# 是否启用版本检查 +VITE_ENABLE_VERSION_CHECK=true diff --git a/index.html b/index.html index 5b3a718..e87e5ca 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,12 @@ + + + + + +