2020-09-28 20:19:10 +08:00
|
|
|
import Icon from './Icon/index';
|
|
|
|
|
import { BasicHelp, BasicTitle } from './Basic';
|
|
|
|
|
import Button from './Button/index.vue';
|
2020-10-20 21:06:12 +08:00
|
|
|
import { Button as AntButton } from 'ant-design-vue';
|
|
|
|
|
import { getApp } from '/@/useApp';
|
2020-09-28 20:19:10 +08:00
|
|
|
|
2020-10-20 21:06:12 +08:00
|
|
|
const compList = [Icon, BasicHelp, BasicTitle, Button, AntButton.Group];
|
|
|
|
|
export function registerGlobComp() {
|
2020-09-28 20:19:10 +08:00
|
|
|
compList.forEach((comp: any) => {
|
2020-10-20 21:06:12 +08:00
|
|
|
getApp().component(comp.name, comp);
|
2020-09-28 20:19:10 +08:00
|
|
|
});
|
|
|
|
|
}
|