feat: 添加应用版本检查与更新提示功能;更新环境变量以支持版本管理

This commit is contained in:
2025-12-30 18:18:02 +07:00
parent e7e2b1bd85
commit 5b1ebac9c4
6 changed files with 22 additions and 10 deletions

1
types/env.d.ts vendored
View File

@@ -12,6 +12,7 @@ interface ImportMetaEnv {
readonly VITE_API_URL: string;
readonly VITE_TRADINGVIEW_LIBRARY_URL: string;
readonly VITE_TRADINGVIEW_DATA_API_URL: string;
readonly VITE_APP_VERSION: string;
}
interface ImportMeta {