提交 8e7c1d3e 编写于 作者: Q qiang

fix: lint cli

上级 5ccc8341
......@@ -390,11 +390,7 @@ function initAutoComponents () {
})
if (conflictFiles.length > 0) {
conflictFiles.forEach(files => {
let usedFile
console.warn('easycom组件冲突:[' + files.map((file, index) => {
if (index === 0) {
usedFile = file
}
return file
}).join(',') + ']')
console.log('\n')
......@@ -543,4 +539,4 @@ module.exports = {
getGlobalUsingComponentsCode,
parseUsingAutoImportComponents,
generateGlobalUsingComponentsCode
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册