From c2b9578398079fd590e8de656a85dda3c8cd8833 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Mon, 10 Oct 2022 17:24:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=A4=E6=96=ADApp=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E7=BD=91=E7=BB=9C=E6=98=AF=E5=90=A6=E5=BC=80=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/uni-cli-shared/src/json/manifest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/uni-cli-shared/src/json/manifest.ts b/packages/uni-cli-shared/src/json/manifest.ts index 27649803d..b42bfc6b8 100644 --- a/packages/uni-cli-shared/src/json/manifest.ts +++ b/packages/uni-cli-shared/src/json/manifest.ts @@ -97,7 +97,7 @@ export function isEnableSecureNetwork( ) { const manifest = parseManifestJsonOnce(inputDir) if (platform === 'app') { - return false // 暂未支持app + return !!manifest[platform]?.modules?.SecureNetwork } return manifest[platform]?.secureNetwork?.enable === true } -- GitLab