From a3eb3f7fd0889c3eed7ea5f5c812246779efa53c Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Thu, 07 Nov 2024 20:25:13 +0800
Subject: [PATCH] 企业详情

---
 src/main.js |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/main.js b/src/main.js
index 625b57d..689bcb1 100644
--- a/src/main.js
+++ b/src/main.js
@@ -2,13 +2,13 @@
  * @Author: shuishen 1109946754@qq.com
  * @Date: 2024-10-25 10:56:27
  * @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2024-10-28 10:53:47
+ * @LastEditTime: 2024-10-31 11:01:20
  * @FilePath: \bigScreen\src\main.js
  * @Description: 
  * 
  * Copyright (c) 2024 by shuishen, All Rights Reserved. 
  */
-import { createApp } from 'vue'
+import { createApp, h } from 'vue'
 import { createPinia } from 'pinia'
 import router from '@/router/index'
 
@@ -19,9 +19,13 @@
 import App from './App.vue'
 import ElementPlus from 'element-plus'
 import 'element-plus/dist/index.css'
+import './permission'
 
 // 全局组件自动注册
 import components from '@/components/index'
+
+import { getElementLabelLine } from 'element-tree-line';
+import 'element-tree-line/dist/style.css';
 
 import * as DC from '@dvgis/dc-sdk'
 import '@dvgis/dc-sdk/dist/dc.min.css'
@@ -30,6 +34,9 @@
 const pinia = createPinia()
 
 pinia.use(piniaPersistPlugin)
+const ElementLabelLine = getElementLabelLine(h);
+app.component(ElementLabelLine.name, ElementLabelLine);
+
 app.use(router)
 app.use(ElementPlus)
 app.use(pinia)

--
Gitblit v1.9.3