mdm-client 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -66,7 +66,7 @@ export default {
|
|
|
66
66
|
isCustomizeMiniInvitations: false,
|
|
67
67
|
baseUrl: "https://10.2.12.103:8443",
|
|
68
68
|
roomServerUrl: "wss://10.2.12.103:8443",
|
|
69
|
-
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.
|
|
69
|
+
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJMb2dpbkluZm8iOnsibG9naW5Db2RlIjoibGl1amluYm8iLCJ1c2VyTmFtZSI6IuWImOmUpuazoiIsInRlbmFudElEIjo3OTA2MDE5OTgyNTAxMDAwLCJkZXB0VHJlZSI6Ijc5MDYwNzA4NTA5MDEwMDAvNzkwNzk1MzkyNjcwMTAwMCIsInVzZXJJRCI6NzkwNjI1NzUyOTgwMTAwMCwicm9sZUlEIjo3OTA2MDc0MzkyMDAxMDAwLCJ2ZXJzaW9uSUQiOjc5MDc5NDk3NjQyMDEwMDB9LCJwbGF0Zm9ybUlEIjowLCJwaG9uZSI6IiIsImV4cCI6MTc1NTg4NDExNCwiaWF0IjoxNzU1MTY0MTE0fQ.NXXtuVG6ZxRObwwEsQzZpwKGiD6YN4vVVn2ojz_syNk",
|
|
70
70
|
liveClient: null,
|
|
71
71
|
showMessage: null,
|
|
72
72
|
};
|
|
@@ -358,6 +358,7 @@
|
|
|
358
358
|
<script>
|
|
359
359
|
import LiveClient from "../../utils/livekit/live-client-esm";
|
|
360
360
|
import { ShowMessage, calculateTime, mittBus } from "../../utils";
|
|
361
|
+
import { MessageBox } from "element-ui";
|
|
361
362
|
import dayjs from "dayjs";
|
|
362
363
|
import ThemeDialog from "../other/themeDialog.vue";
|
|
363
364
|
import LayoutSwitch from "../other/layoutSwitch.vue";
|
|
@@ -1187,7 +1188,7 @@ export default {
|
|
|
1187
1188
|
this.isDeleteRoom = true;
|
|
1188
1189
|
this.leaveRoom();
|
|
1189
1190
|
} else {
|
|
1190
|
-
|
|
1191
|
+
MessageBox.confirm("点击结束会议后会议将被解散,您确定要这么做么?", "警告", {
|
|
1191
1192
|
confirmButtonText: "确定",
|
|
1192
1193
|
cancelButtonText: "取消",
|
|
1193
1194
|
type: "warning",
|
|
@@ -1216,7 +1217,7 @@ export default {
|
|
|
1216
1217
|
if (index !== -1) {
|
|
1217
1218
|
this.appointDialogShow = true;
|
|
1218
1219
|
} else {
|
|
1219
|
-
|
|
1220
|
+
MessageBox.confirm("当前会议没有pc端和app端与会者, 无法指派主持人, 将直接解散会议", "警告", {
|
|
1220
1221
|
confirmButtonText: "确定",
|
|
1221
1222
|
cancelButtonText: "取消",
|
|
1222
1223
|
type: "warning",
|
package/src/main.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import Vue from 'vue'
|
|
2
2
|
import App from './App.vue'
|
|
3
3
|
// 测试
|
|
4
|
-
import liveComponent from '../index'
|
|
4
|
+
// import liveComponent from '../index'
|
|
5
5
|
// npm
|
|
6
|
-
|
|
6
|
+
import MDMClient from "mdm-client"
|
|
7
7
|
import ElementUI from 'element-ui'
|
|
8
8
|
import 'element-ui/lib/theme-chalk/index.css';
|
|
9
9
|
|
|
@@ -11,9 +11,9 @@ import 'element-ui/lib/theme-chalk/index.css';
|
|
|
11
11
|
Vue.config.productionTip = false
|
|
12
12
|
Vue.use(ElementUI)
|
|
13
13
|
// 测试
|
|
14
|
-
Vue.use(liveComponent)
|
|
14
|
+
// Vue.use(liveComponent)
|
|
15
15
|
// npm
|
|
16
|
-
|
|
16
|
+
Vue.use(MDMClient)
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
new Vue({
|