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 | 1 | import type { App } from 'vue'; |
2 | -import { Icon } from './Icon'; | |
2 | +// import { Icon } from './Icon'; | |
3 | 3 | import { Button } from './Button'; |
4 | 4 | import { |
5 | 5 | // Need |
... | ... | @@ -7,7 +7,7 @@ import { |
7 | 7 | Input, |
8 | 8 | } from 'ant-design-vue'; |
9 | 9 | |
10 | -const compList = [Icon, AntButton.Group]; | |
10 | +const compList = [AntButton.Group]; | |
11 | 11 | |
12 | 12 | export function registerGlobComp(app: App) { |
13 | 13 | compList.forEach((comp) => { | ... | ... |