diff --git a/.env b/.env
index 832d68083..3e54319a1 100644
--- a/.env
+++ b/.env
@@ -15,3 +15,9 @@ VITE_APP_CAPTCHA_ENABLE=true
# 百度统计
VITE_APP_BAIDU_CODE = a1ff8825baa73c3a78eb96aa40325abc
+
+# 应用版本号
+VITE_VERSION = V1.0
+# 更新版本号时间
+VITE_VERSION_TIME = 2025-03-31 09:00:00
+
diff --git a/src/utils/systemParam.ts b/src/utils/systemParam.ts
index 9cb51bf51..357583329 100644
--- a/src/utils/systemParam.ts
+++ b/src/utils/systemParam.ts
@@ -8,7 +8,8 @@ const systermUpdateAlert = ref(import.meta.env.VITE_SYSTERM_UPDATE_ALERT)
const systermUpdateUrl = ref(import.meta.env.VITE_SYSTERM_UPDATE_URL)
const needCode = ref(import.meta.env.VITE_NEED_CODE)
const pdaUrl = ref(import.meta.env.VITE_PDA_URL)
-
+const version = ref(import.meta.env.VITE_VERSION)
+const versionTime = ref(import.meta.env.VITE_VERSION_TIME)
const mode = ref(import.meta.env.MODE)
// 获取baseUrl
export const getBaseUrl = () => {
@@ -95,4 +96,12 @@ export const getPDAUrl = () => {
}
}
+//获取版本号
+export const getVersion = () => {
+ return version.value
+}
+//获取版本号更新时间
+export const getVersionTime = () => {
+ return versionTime.value
+}
diff --git a/src/views/login/components/QRCodePDA.vue b/src/views/login/components/QRCodePDA.vue
index d8d3b05fc..348a5b02e 100644
--- a/src/views/login/components/QRCodePDA.vue
+++ b/src/views/login/components/QRCodePDA.vue
@@ -5,12 +5,16 @@