perf: 同步主分支代码

This commit is contained in:
xiaoxian521
2021-11-16 22:17:57 +08:00
parent 0f3d82a9b1
commit 4ef4768c65
16 changed files with 132 additions and 26 deletions

View File

@@ -93,9 +93,11 @@ const components = [
ElDescriptions,
ElDescriptionsItem,
ElBacktop,
ElSwitch,
ElSwitch
];
// icon
// icon
export const iconComponents = [
Check,
Menu,
HomeFilled,
@@ -115,6 +117,7 @@ const components = [
const plugins = [ElLoading];
export function useElementPlus(app: App) {
components.push(...iconComponents);
components.forEach((component: Component) => {
app.component(component.name, component);
});