未验证 提交 54eed6ac 编写于 作者: fxy060608's avatar fxy060608 提交者: GitHub

Merge pull request #2552 from malcolmyu/master

fix: 修复多分包共用组件仍然提示建议移动的问题
......@@ -51,7 +51,7 @@ function analyzeUsingComponents () {
return false
}
pkgs.add(pkgRoot)
if (pkgs.length > 1) { // 被多个分包引用
if (pkgs.size > 1) { // 被多个分包引用
return false
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册