From 8ba7eab0efdb8309562119d4253997fc0808c718 Mon Sep 17 00:00:00 2001 From: Joshi <3040996759@qq.com> Date: Mon, 7 Jul 2025 15:24:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AA=E5=8C=B9=E9=85=8D=E6=95=B0=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/App.vue b/App.vue index 9a4dbbc..dfe7dbd 100644 --- a/App.vue +++ b/App.vue @@ -508,7 +508,8 @@ function checkUpdate() { }); } function extractVersionNum(str) { - const match = str.match(/(\\d+\\.\\d+(?:\\.\\d+)?)/); + // 匹配第一个出现的数字版本号 + const match = str.match(/(\d+\.\d+(?:\.\d+)?)/); return match ? match[1] : '0.0.0'; }