From 6f3fac4493995e16ee0f37c6cf2b06e5de2a6a72 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 02 七月 2025 16:27:37 +0800
Subject: [PATCH] 1. 将场景图片的分类修改为从服务端动态获取; 2. 问题整改节目中的问题复现功能修改为可拖动对话框且移除背景模态框;

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

diff --git a/src/main.js b/src/main.js
index c56a19a..6f7f655 100644
--- a/src/main.js
+++ b/src/main.js
@@ -14,9 +14,21 @@
 import 'element-plus/theme-chalk/src/message-box.scss';
 import 'element-plus/theme-chalk/src/notification.scss';
 
+// dayjs plugin
+import dayjs from 'dayjs';
+import isSameOrAfter from 'dayjs/plugin/isSameOrAfter';
+import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
+
+// echarts
+import * as echarts from 'echarts'
+
+dayjs.extend(isSameOrAfter);
+dayjs.extend(isSameOrBefore);
+
 const app = createApp(App);
 
 app.config.globalProperties.$fm = timeUtil;
+app.config.globalProperties.$echarts = echarts
 
 for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
   app.component(key, component);

--
Gitblit v1.9.3