From 2307f1cf7f1dbb4c17abdf8baea692d97b1dba3e Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期五, 06 十二月 2024 10:35:52 +0800 Subject: [PATCH] job --- src/plugins/elementPlus/index.ts | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/plugins/elementPlus/index.ts b/src/plugins/elementPlus/index.ts index 0ae2a8b..e23cb55 100644 --- a/src/plugins/elementPlus/index.ts +++ b/src/plugins/elementPlus/index.ts @@ -1,6 +1,8 @@ import type { App } from 'vue' // 需要全局引入一些组件,如ElScrollbar,不然一些下拉项样式有问题 import { ElLoading, ElScrollbar, ElButton } from 'element-plus' +import ElementPlus from 'element-plus' +import 'element-plus/dist/index.css' const plugins = [ElLoading] @@ -14,4 +16,6 @@ components.forEach((component) => { app.component(component.name, component) }) + + app.use(ElementPlus) } -- Gitblit v1.9.3