antv采用按需导入,this.$message.success() 图标不显示,导入check-circle图标
export {
default as check-circle //报错
}from '@ant-design/icons/lib/outline/CheckCircleOutline'
antv采用按需导入,this.$message.success() 图标不显示,导入check-circle图标
export {
default as check-circle //报错
}from '@ant-design/icons/lib/outline/CheckCircleOutline'
你不能用check-circle 要用驼峰式写法 checkCircle
export {
default as checkCircle
}from '@ant-design/icons/lib/outline/CheckCircleOutline'
再有你可以看下这篇引入图标的文章,应该会对你有帮助
https://www.jianshu.com/p/f1307c45e903