提交 59d3e8c8 编写于 作者: V vben

perf(icon): remove Icon component global registration

上级 c73694ab
## Wip
- **Icon** 移除 Icon 组件全局注册,防止特定情况下热更新问题
## 2.5.1(2021-06-26)
### ⚡ Performance Improvements
......
import type { App } from 'vue';
import { Icon } from './Icon';
// import { Icon } from './Icon';
import { Button } from './Button';
import {
// Need
......@@ -7,7 +7,7 @@ import {
Input,
} from 'ant-design-vue';
const compList = [Icon, AntButton.Group];
const compList = [AntButton.Group];
export function registerGlobComp(app: App) {
compList.forEach((comp) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册