From 3fcfac1f37c2aeabbb2af4897ada6ba8c225c667 Mon Sep 17 00:00:00 2001
From: vben <anncwb@126.com>
Date: 星期三, 24 十一月 2021 23:25:13 +0800
Subject: [PATCH] wip: Upgrade ant-design-vue 3.0

---
 src/components/registerGlobComp.ts |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diff --git a/src/components/registerGlobComp.ts b/src/components/registerGlobComp.ts
index feb060e..a3ee310 100644
--- a/src/components/registerGlobComp.ts
+++ b/src/components/registerGlobComp.ts
@@ -1,18 +1,7 @@
 import type { App } from 'vue';
 import { Button } from './Button';
-import {
-  // Need
-  Button as AntButton,
-  Input,
-  Layout,
-} from 'ant-design-vue';
-
-const compList = [AntButton.Group];
+import { Input, Layout } from 'ant-design-vue';
 
 export function registerGlobComp(app: App) {
-  compList.forEach((comp) => {
-    app.component(comp.name || comp.displayName, comp);
-  });
-
   app.use(Input).use(Button).use(Layout);
 }

--
Gitblit v1.8.0