From 132c64f438fb87c525e9c33da72dfd91ebab097f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=E4=B9=A0=E5=BE=88=E5=B7=AE=E5=95=A6?= <17633066053@163.com> Date: Tue, 6 Sep 2022 16:25:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4app=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E5=8D=87=E7=BA=A7bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/APPUpdate/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/APPUpdate/index.js b/plugins/APPUpdate/index.js index 595514a..cfa6979 100644 --- a/plugins/APPUpdate/index.js +++ b/plugins/APPUpdate/index.js @@ -854,7 +854,7 @@ function downloadPopup(data, callback, cancelCallback, rebootCallback) { export default function (isPrompt = false) { getCurrentNo((version) => { getServerNo((res) => { - if (res.versionCode.replace(/\./g, "") <= version.version) { + if (res.versionCode.replace(/\./g, "") <= version.version.replace(/\./g, "") ) { return false; }