From e831e8f95b6a2584d68f8a9176e5a06125c4952e Mon Sep 17 00:00:00 2001 From: fahasikei <1299484460@qq.com> Date: Fri, 8 Sep 2023 09:07:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B0=8F=E9=A9=BC?= =?UTF-8?q?=E5=B3=B0=E5=91=BD=E5=90=8D=E8=87=AA=E5=AE=9A=E4=B9=89=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-cli-convertor/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taro-cli-convertor/src/index.ts b/packages/taro-cli-convertor/src/index.ts index 3823d3d71aaa..ae2bf6ec6c03 100644 --- a/packages/taro-cli-convertor/src/index.ts +++ b/packages/taro-cli-convertor/src/index.ts @@ -454,7 +454,7 @@ export default class Convertor { } if (depComponents && depComponents.size) { depComponents.forEach((componentObj) => { - const name = pascalCase(componentObj.name) + const name = pascalCase(componentObj.name.toLowerCase()) let componentPath = componentObj.path if (componentPath.indexOf(self.root) !== -1) { componentPath = path.relative(sourceFilePath, componentPath)