mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-10 22:19:31 +00:00
perf(icon): remove Icon component global registration
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
## Wip
|
||||||
|
|
||||||
|
- **Icon** 移除 Icon 组件全局注册,防止特定情况下热更新问题
|
||||||
|
|
||||||
## 2.5.1(2021-06-26)
|
## 2.5.1(2021-06-26)
|
||||||
|
|
||||||
### ⚡ Performance Improvements
|
### ⚡ Performance Improvements
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import type { App } from 'vue';
|
import type { App } from 'vue';
|
||||||
import { Icon } from './Icon';
|
// import { Icon } from './Icon';
|
||||||
import { Button } from './Button';
|
import { Button } from './Button';
|
||||||
import {
|
import {
|
||||||
// Need
|
// Need
|
||||||
@@ -7,7 +7,7 @@ import {
|
|||||||
Input,
|
Input,
|
||||||
} from 'ant-design-vue';
|
} from 'ant-design-vue';
|
||||||
|
|
||||||
const compList = [Icon, AntButton.Group];
|
const compList = [AntButton.Group];
|
||||||
|
|
||||||
export function registerGlobComp(app: App) {
|
export function registerGlobComp(app: App) {
|
||||||
compList.forEach((comp) => {
|
compList.forEach((comp) => {
|
||||||
|
Reference in New Issue
Block a user