From b94d70731d4c2c1d4b9320dd502d9d95402aba00 Mon Sep 17 00:00:00 2001 From: xlfsummer <20750969+xlfsummer@users.noreply.github.com> Date: Fri, 28 Feb 2020 00:29:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=AD=A3=E4=BB=A3=E7=A0=81=E8=A7=84?= =?UTF-8?q?=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/uni-template-compiler/lib/auto-components.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/uni-template-compiler/lib/auto-components.js b/packages/uni-template-compiler/lib/auto-components.js index 96f0730b2..ac1bf3f95 100644 --- a/packages/uni-template-compiler/lib/auto-components.js +++ b/packages/uni-template-compiler/lib/auto-components.js @@ -39,7 +39,7 @@ function updateMPUsingAutoImportComponents (autoComponents, options) { return } const resourcePath = options.resourcePath.replace(path.extname(options.resourcePath), '') - if (resourcePath == 'App') { + if (resourcePath === 'App') { return } const usingAutoImportComponents = Object.create(null) -- GitLab