From b95a49c7d74e5c7f45cd7c65f45502edf7f203dd Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期五, 07 二月 2025 13:08:34 +0800
Subject: [PATCH] reset 回滚有问题的修改

---
 src/main.ts |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/src/main.ts b/src/main.ts
index 439d82c..592de58 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -15,6 +15,12 @@
 // 娉ㄥ唽鎻掍欢
 import plugins from './plugins/index'; // plugins
 
+// 楂樹寒缁勪欢
+// import 'highlight.js/styles/a11y-light.css';
+import 'highlight.js/styles/atom-one-dark.css';
+import 'highlight.js/lib/common';
+import HighLight from '@highlightjs/vue-plugin';
+
 // svg鍥炬爣
 import 'virtual:svg-icons-register';
 import ElementIcons from '@/plugins/svgicon';
@@ -25,12 +31,25 @@
 // 鍥介檯鍖�
 import i18n from '@/lang/index';
 
+// vxeTable
+import VXETable from 'vxe-table';
+import 'vxe-table/lib/style.css';
+VXETable.config({
+  zIndex: 999999
+});
+
+// 淇敼 el-dialog 榛樿鐐瑰嚮閬収涓轰笉鍏抽棴
+import { ElDialog } from 'element-plus';
+ElDialog.props.closeOnClickModal.default = false;
+
 const app = createApp(App);
 
+app.use(HighLight);
 app.use(ElementIcons);
 app.use(router);
 app.use(store);
 app.use(i18n);
+app.use(VXETable);
 app.use(plugins);
 // 鑷畾涔夋寚浠�
 directive(app);

--
Gitblit v1.9.3