未验证 提交 f751f1cc 编写于 作者: M Minghao Yu 提交者: GitHub

fix: 修复多分包自定义组件仍然提示的问题

上级 e21f7baf
......@@ -51,7 +51,7 @@ function analyzeUsingComponents () {
return false
}
pkgs.add(pkgRoot)
if (pkgs.length > 1) { // 被多个分包引用
if (pkgs.size > 1) { // 被多个分包引用
return false
}
}
......@@ -223,4 +223,4 @@ module.exports = function generateJson (compilation) {
require('@dcloudio/uni-cli-shared/lib/cache').store()
}, 50)
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册