perf: 同步主分支代码
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
Reference in New Issue
Block a user