Commit 59d3e8c80f72f029f2b90432b31901ad54ed1ee4
1 parent
c73694ab
perf(icon): remove Icon component global registration
Showing
2 changed files
with
6 additions
and
2 deletions
CHANGELOG.zh_CN.md
src/components/registerGlobComp.ts
1 | import type { App } from 'vue'; | 1 | import type { App } from 'vue'; |
2 | -import { Icon } from './Icon'; | 2 | +// import { Icon } from './Icon'; |
3 | import { Button } from './Button'; | 3 | import { Button } from './Button'; |
4 | import { | 4 | import { |
5 | // Need | 5 | // Need |
@@ -7,7 +7,7 @@ import { | @@ -7,7 +7,7 @@ import { | ||
7 | Input, | 7 | Input, |
8 | } from 'ant-design-vue'; | 8 | } from 'ant-design-vue'; |
9 | 9 | ||
10 | -const compList = [Icon, AntButton.Group]; | 10 | +const compList = [AntButton.Group]; |
11 | 11 | ||
12 | export function registerGlobComp(app: App) { | 12 | export function registerGlobComp(app: App) { |
13 | compList.forEach((comp) => { | 13 | compList.forEach((comp) => { |