From 18d6c10a7b88dce99870f660ed59b24d6a6d5bc9 Mon Sep 17 00:00:00 2001 From: nonameShijian <2954700422@qq.com> Date: Mon, 29 Jan 2024 20:52:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BA=E6=9B=B4=E4=B8=A5?= =?UTF-8?q?=E8=B0=A8=E7=9A=84=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/init/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noname/init/index.js b/noname/init/index.js index ee093b477..2bbdbd8af 100644 --- a/noname/init/index.js +++ b/noname/init/index.js @@ -22,7 +22,7 @@ export function canUseHttpProtocol() { // 手机端 if (window.cordova) { // 直接确定包名 - if (nonameInitialized.includes('com.noname.shijian')) { + if (nonameInitialized.endsWith('com.noname.shijian/')) { // 每个app自定义能升级的渠道,比如判断版本 // @ts-ignore return window.noname_shijianInterfaces.getApkVersion() >= 16000;