From 5bb836825f0eb9a440e31b63c1781e2d059bfd01 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期六, 18 五月 2024 16:15:45 +0800
Subject: [PATCH] 增加了会议模块

---
 ruoyi-ui/src/main.js |   60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 59 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/main.js b/ruoyi-ui/src/main.js
index d2b9b00..8a89a9a 100644
--- a/ruoyi-ui/src/main.js
+++ b/ruoyi-ui/src/main.js
@@ -1,6 +1,63 @@
 import Vue from 'vue'
-
+import TRTC from 'trtc-js-sdk';
+import '@/utils/aegis.js';
 import Cookies from 'js-cookie'
+
+import '@/assets/style/global.css';
+import '@/assets/icons';
+import '@/assets/style/theme/index.css';
+import { isMobile } from '@/utils/utils';
+
+import {
+  Collapse,
+  CollapseItem,
+  Select,
+  Option,
+  Input,
+  Button,
+  Message,
+  MessageBox,
+  Tooltip,
+  Alert,
+} from 'element-ui';
+import i18n from './locales/i18n';
+const showMessage = Symbol('showMessage');
+class DonMessage {
+  success(options, single = true) {
+    this[showMessage]('success', options, single);
+  }
+  warning(options, single = true) {
+    this[showMessage]('warning', options, single);
+  }
+  info(options, single = true) {
+    this[showMessage]('info', options, single);
+  }
+  error(options, single = true) {
+    this[showMessage]('error', options, single);
+  }
+  [showMessage](type, options) {
+    Message[type](options);
+  }
+}
+
+
+//import i18n from './locales/i18n';
+Vue.use(Collapse);
+Vue.use(CollapseItem);
+Vue.use(Select);
+Vue.use(Option);
+Vue.use(Input);
+Vue.use(Button);
+Vue.use(Tooltip);
+Vue.use(Alert);
+Vue.prototype.$alert = MessageBox.alert;
+Vue.prototype.$message = new DonMessage();
+Vue.prototype.$isMobile = isMobile;
+
+
+
+
+
 
 import Element from 'element-ui'
 import './assets/styles/element-variables.scss'
@@ -87,6 +144,7 @@
   el: '#app',
   router,
   store,
+  i18n,
   Base64,
   render: h => h(App)
 })

--
Gitblit v1.9.1