From d0db810c9b1c67b8eed03c7f7be6eb4a34a8dbc7 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期五, 06 十二月 2024 17:05:25 +0800
Subject: [PATCH] permissions合并

---
 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