mdm-im-v3 2.0.0 → 2.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/CHANGELOG.md +11 -1
- package/LICENSE +21 -0
- package/dist/{FilePreview-CQruuDv1.js → FilePreview-u-aYsWSs.js} +2 -2
- package/dist/assets/extracted/017fa3ad.png +0 -0
- package/dist/assets/extracted/01e27fe0.png +0 -0
- package/dist/assets/extracted/03806604.png +0 -0
- package/dist/assets/extracted/1e93bbf6.png +0 -0
- package/dist/assets/extracted/496b907e.png +0 -0
- package/dist/assets/extracted/8b132123.png +0 -0
- package/dist/assets/extracted/9ace2344.png +0 -0
- package/dist/assets/extracted/9f0d261c.png +0 -0
- package/dist/core.es.js +2 -2
- package/dist/{index-s6R7QEVN.js → index-Bn5zFiV_.js} +2 -2
- package/dist/{index-Bb8V05H4.js → index-D8yaC3ve.js} +30 -16
- package/dist/{index-DoLFJbHO.js → index-HUSyWSoO.js} +524 -454
- package/dist/index.es.js +1 -1
- package/dist/style/index.css +1 -1
- package/dist-h5/{ChatHistoryH5-BhLaAyBa.js → ChatHistoryH5-Deqlnw3u.js} +2 -2
- package/dist-h5/{ChatPageH5-CN_0Pg6O.js → ChatPageH5-wyLGmPhW.js} +10 -10
- package/dist-h5/{ChatSettingsH5-KT-3je5w.js → ChatSettingsH5-DD3dnI-H.js} +4 -4
- package/dist-h5/{CreateGroupH5-BMjnypkv.js → CreateGroupH5-3LIujy3_.js} +28 -26
- package/dist-h5/{GroupAnnouncementH5-B7nRyGvd.js → GroupAnnouncementH5-5EpXQs5V.js} +1 -1
- package/dist-h5/{GroupInfoDialogH5-DKtMc4uk.js → GroupInfoDialogH5-fgcrbRyp.js} +3 -3
- package/dist-h5/{GroupMembersH5-CfV4GgW3.js → GroupMembersH5-DX2lxrLB.js} +4 -4
- package/dist-h5/{GroupNoticeH5-BwIdQHeF.js → GroupNoticeH5-DVXrcmP9.js} +1 -1
- package/dist-h5/{MemberDetailH5-CwtmQyeV.js → MemberDetailH5-DAVUVr30.js} +2 -2
- package/dist-h5/{SearchPageH5-BiyIJq3h.js → SearchPageH5-BiGhJF4U.js} +2 -2
- package/dist-h5/{SelectMembersH5-Vs9NTCJ2.js → SelectMembersH5-DbrSnTg3.js} +6 -6
- package/dist-h5/assets/extracted/017fa3ad.png +0 -0
- package/dist-h5/assets/extracted/01e27fe0.png +0 -0
- package/dist-h5/assets/extracted/03806604.png +0 -0
- package/dist-h5/assets/extracted/1e93bbf6.png +0 -0
- package/dist-h5/assets/extracted/496b907e.png +0 -0
- package/dist-h5/assets/extracted/8b132123.png +0 -0
- package/dist-h5/assets/extracted/9ace2344.png +0 -0
- package/dist-h5/assets/extracted/9f0d261c.png +0 -0
- package/dist-h5/{imChat-Xqfgb8mj.js → imChat-Cz45JFEl.js} +1 -1
- package/dist-h5/index.es.js +1 -1
- package/dist-h5/{indexH5-D2Gi0qKH.js → indexH5-BZ77bUNH.js} +7 -3
- package/dist-h5/{indexH5-CH2-ilgj.js → indexH5-Cx3l8YDq.js} +24 -28
- package/dist-h5/{request-NyX27bEa.js → request-rky8JSGo.js} +1 -1
- package/dist-h5/style/index-h5.css +1 -1
- package/package.json +70 -68
- package/dist/assets/extracted/361513b3.png +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, ref, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createElementBlock, Fragment, renderList, normalizeClass, withModifiers, createTextVNode, toDisplayString, normalizeStyle, createCommentVNode } from "vue";
|
|
2
|
-
import { u as useChatStore, z as debounce, i as isDefaultAvatar, g as getGroupAvatarBg, k as handleUrl, A as handleDateUtil, a as getAvatarBg, b as getAvatarText, G as GROUP_JOIN_SOURCE } from "./indexH5-
|
|
2
|
+
import { u as useChatStore, z as debounce, i as isDefaultAvatar, g as getGroupAvatarBg, k as handleUrl, A as handleDateUtil, a as getAvatarBg, b as getAvatarText, G as GROUP_JOIN_SOURCE } from "./indexH5-Cx3l8YDq.js";
|
|
3
3
|
import { Popup, Icon, Search, Loading, Empty, CellGroup, Cell, Radio, Button, Field, showToast } from "vant";
|
|
4
4
|
import { d as defaultAvatar } from "./default_avatar-BE2kit_X.js";
|
|
5
5
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js";
|
|
@@ -209,7 +209,7 @@ const _sfc_main$1 = {
|
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
211
|
};
|
|
212
|
-
const JoinGroupDialogH5 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
212
|
+
const JoinGroupDialogH5 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-6f388ebf"]]);
|
|
213
213
|
const _hoisted_1 = { class: "group-info-dialog-h5" };
|
|
214
214
|
const _hoisted_2 = { class: "group-info-dialog-h5__header" };
|
|
215
215
|
const _hoisted_3 = { class: "group-info-dialog-h5__body" };
|
|
@@ -461,7 +461,7 @@ const _sfc_main = {
|
|
|
461
461
|
};
|
|
462
462
|
}
|
|
463
463
|
};
|
|
464
|
-
const GroupInfoDialogH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
464
|
+
const GroupInfoDialogH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f9640806"]]);
|
|
465
465
|
export {
|
|
466
466
|
GroupInfoDialogH5 as G,
|
|
467
467
|
JoinGroupDialogH5 as J
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { inject, computed, ref, onMounted, openBlock, createElementBlock, normalizeClass, createVNode, unref, createElementVNode, createBlock, withCtx, createTextVNode, Fragment, renderList, withModifiers, createCommentVNode, toDisplayString, normalizeStyle } from "vue";
|
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
|
3
3
|
import { NavBar, Search, Loading, Empty, Cell, Tag, Button, ActionSheet, showDialog, showToast } from "vant";
|
|
4
|
-
import { u as useChatStore, B as IM_GROUP_MEMBER_ROLE, i as isDefaultAvatar, a as getAvatarBg, b as getAvatarText, x as IM_GROUP_STATUS, c as cloneDeep, k as handleUrl } from "./indexH5-
|
|
4
|
+
import { u as useChatStore, B as IM_GROUP_MEMBER_ROLE, i as isDefaultAvatar, a as getAvatarBg, b as getAvatarText, x as IM_GROUP_STATUS, c as cloneDeep, k as handleUrl } from "./indexH5-Cx3l8YDq.js";
|
|
5
5
|
import { d as defaultAvatar } from "./default_avatar-BE2kit_X.js";
|
|
6
6
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js";
|
|
7
7
|
const _hoisted_1 = { class: "members-content" };
|
|
@@ -318,14 +318,14 @@ const _sfc_main = {
|
|
|
318
318
|
const onAddMember = () => {
|
|
319
319
|
var _a, _b;
|
|
320
320
|
const existingUserIDs = allMembers.value.map((m) => m.userID);
|
|
321
|
-
|
|
321
|
+
localStorage.setItem("SELECT_MEMBERS_EXISTING_IDS", JSON.stringify(existingUserIDs));
|
|
322
322
|
const existingMembers = allMembers.value.map((m) => ({
|
|
323
323
|
userID: m.userID,
|
|
324
324
|
loginCode: m.userID,
|
|
325
325
|
userName: m.nickname || m.userID,
|
|
326
326
|
avatorPath: m.faceURL || ""
|
|
327
327
|
}));
|
|
328
|
-
|
|
328
|
+
localStorage.setItem("CREATE_GROUP_EXISTING_MEMBERS", JSON.stringify(existingMembers));
|
|
329
329
|
router.push({
|
|
330
330
|
path: "/create-group",
|
|
331
331
|
query: {
|
|
@@ -520,7 +520,7 @@ const _sfc_main = {
|
|
|
520
520
|
};
|
|
521
521
|
}
|
|
522
522
|
};
|
|
523
|
-
const GroupMembersH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
523
|
+
const GroupMembersH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b41f6c4c"]]);
|
|
524
524
|
export {
|
|
525
525
|
GroupMembersH5 as default
|
|
526
526
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed, inject, ref, onMounted, openBlock, createElementBlock, normalizeClass, createVNode, unref, withCtx, createElementVNode, createBlock, createCommentVNode, Fragment, renderList, createTextVNode, toDisplayString, normalizeStyle } from "vue";
|
|
2
2
|
import { useRouter } from "vue-router";
|
|
3
3
|
import { NavBar, Icon, Tabs, Tab, Loading, Empty, Cell, Button, showToast } from "vant";
|
|
4
|
-
import { u as useChatStore, i as isDefaultAvatar, a as getAvatarBg, b as getAvatarText, k as handleUrl, g as getGroupAvatarBg, A as handleDateUtil } from "./indexH5-
|
|
4
|
+
import { u as useChatStore, i as isDefaultAvatar, a as getAvatarBg, b as getAvatarText, k as handleUrl, g as getGroupAvatarBg, A as handleDateUtil } from "./indexH5-Cx3l8YDq.js";
|
|
5
5
|
import { d as defaultAvatar } from "./default_avatar-BE2kit_X.js";
|
|
6
6
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js";
|
|
7
7
|
const _hoisted_1 = { class: "notice-list" };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { computed, inject, ref, onMounted, onBeforeUnmount, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, unref, withCtx, createBlock, normalizeStyle, toDisplayString, createCommentVNode, createTextVNode, Fragment, withModifiers } from "vue";
|
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
|
3
3
|
import { showToast, NavBar, Icon, Image, Loading, Empty, Button, CellGroup, Cell } from "vant";
|
|
4
|
-
import { u as useChatStore, e as useUsers, k as handleUrl, i as isDefaultAvatar, f as useConversations, a as getAvatarBg, b as getAvatarText, I as IM_CVS_TYPE } from "./indexH5-
|
|
5
|
-
import { g as getUserInfoByLoginCode, u as uploadFiles } from "./imChat-
|
|
4
|
+
import { u as useChatStore, e as useUsers, k as handleUrl, i as isDefaultAvatar, f as useConversations, a as getAvatarBg, b as getAvatarText, I as IM_CVS_TYPE } from "./indexH5-Cx3l8YDq.js";
|
|
5
|
+
import { g as getUserInfoByLoginCode, u as uploadFiles } from "./imChat-Cz45JFEl.js";
|
|
6
6
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js";
|
|
7
7
|
const _hoisted_1 = { class: "detail-header" };
|
|
8
8
|
const _hoisted_2 = { class: "detail-avatar" };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { computed, ref, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, createBlock, Fragment, renderList, normalizeStyle, toDisplayString, createTextVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { useRouter } from "vue-router";
|
|
3
3
|
import { NavBar, Search, Loading, CellGroup, Cell, Tag, Empty } from "vant";
|
|
4
|
-
import { u as useChatStore, f as useConversations, z as debounce, I as IM_CVS_TYPE, g as getGroupAvatarBg, i as isDefaultAvatar, a as getAvatarBg, b as getAvatarText, k as handleUrl } from "./indexH5-
|
|
5
|
-
import { s as searchOpenIMUsers } from "./imChat-
|
|
4
|
+
import { u as useChatStore, f as useConversations, z as debounce, I as IM_CVS_TYPE, g as getGroupAvatarBg, i as isDefaultAvatar, a as getAvatarBg, b as getAvatarText, k as handleUrl } from "./indexH5-Cx3l8YDq.js";
|
|
5
|
+
import { s as searchOpenIMUsers } from "./imChat-Cz45JFEl.js";
|
|
6
6
|
import { d as defaultAvatar } from "./default_avatar-BE2kit_X.js";
|
|
7
7
|
const _hoisted_1 = { class: "search-page-h5" };
|
|
8
8
|
const _hoisted_2 = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { computed, ref, onMounted, openBlock, createElementBlock, createVNode, unref, createBlock, createCommentVNode, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, withCtx, createSlots, withModifiers, normalizeStyle, createTextVNode } from "vue";
|
|
2
2
|
import { useRouter } from "vue-router";
|
|
3
|
-
import { u as useChatStore, z as debounce, i as isDefaultAvatar, k as handleUrl, a as getAvatarBg, b as getAvatarText } from "./indexH5-
|
|
3
|
+
import { u as useChatStore, z as debounce, i as isDefaultAvatar, k as handleUrl, a as getAvatarBg, b as getAvatarText } from "./indexH5-Cx3l8YDq.js";
|
|
4
4
|
import { NavBar, Search, Icon, CellGroup, Cell, Loading, Empty, List, Checkbox, Button, showToast } from "vant";
|
|
5
|
-
import { q as queryUserAddressBook, a as queryUsersByDept, b as searchUsersByDept } from "./imChat-
|
|
5
|
+
import { q as queryUserAddressBook, a as queryUsersByDept, b as searchUsersByDept } from "./imChat-Cz45JFEl.js";
|
|
6
6
|
import { d as defaultAvatar } from "./default_avatar-BE2kit_X.js";
|
|
7
7
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js";
|
|
8
8
|
const _hoisted_1 = { class: "select-members-h5" };
|
|
@@ -261,11 +261,11 @@ const _sfc_main = {
|
|
|
261
261
|
showToast("请至少选择一个成员");
|
|
262
262
|
return;
|
|
263
263
|
}
|
|
264
|
-
|
|
264
|
+
localStorage.setItem("CREATE_GROUP_MEMBERS", JSON.stringify(selectedMembers.value));
|
|
265
265
|
router.back();
|
|
266
266
|
};
|
|
267
267
|
onMounted(() => {
|
|
268
|
-
const existingIds =
|
|
268
|
+
const existingIds = localStorage.getItem("SELECT_MEMBERS_EXISTING_IDS");
|
|
269
269
|
if (existingIds) {
|
|
270
270
|
try {
|
|
271
271
|
existingMemberIDs.value = JSON.parse(existingIds);
|
|
@@ -273,7 +273,7 @@ const _sfc_main = {
|
|
|
273
273
|
existingMemberIDs.value = [];
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
|
-
const saved =
|
|
276
|
+
const saved = localStorage.getItem("CREATE_GROUP_MEMBERS");
|
|
277
277
|
if (saved) {
|
|
278
278
|
try {
|
|
279
279
|
selectedMembers.value = JSON.parse(saved);
|
|
@@ -443,7 +443,7 @@ const _sfc_main = {
|
|
|
443
443
|
};
|
|
444
444
|
}
|
|
445
445
|
};
|
|
446
|
-
const SelectMembersH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
446
|
+
const SelectMembersH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e18c97be"]]);
|
|
447
447
|
export {
|
|
448
448
|
SelectMembersH5 as default
|
|
449
449
|
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElMessage } from "element-plus";
|
|
2
|
-
import { r as requestInstance } from "./request-
|
|
2
|
+
import { r as requestInstance } from "./request-rky8JSGo.js";
|
|
3
3
|
const CHUNK_MAX_SIZE = 20 * 1024 * 1024;
|
|
4
4
|
const TARGET_CHUNK_SIZE = 20 * 1024 * 1024;
|
|
5
5
|
const LARGE_FILE_THRESHOLD = 20 * 1024 * 1024;
|
package/dist-h5/index.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { computed, ref, watch, onBeforeUnmount, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, withModifiers, createTextVNode, toDisplayString, createCommentVNode, Fragment, renderList, createBlock, normalizeClass, normalizeStyle, inject, provide, onMounted, nextTick } from "vue";
|
|
2
2
|
import { useRouter } from "vue-router";
|
|
3
3
|
import { NavBar, Icon, Badge, PullRefresh, SwipeCell, Loading, Empty, Button, ActionSheet, Cell, showDialog, showToast } from "vant";
|
|
4
|
-
import { u as useChatStore, I as IM_CVS_TYPE, g as getGroupAvatarBg, i as isDefaultAvatar, a as getAvatarBg, b as getAvatarText, c as cloneDeep, d as useMessage, e as useUsers, f as useConversations, h as useMsgList, m as mittBus, j as IM_LOGIN_STATUS, k as handleUrl, l as IM_LOGIN_PLATFORM } from "./indexH5-
|
|
4
|
+
import { u as useChatStore, I as IM_CVS_TYPE, g as getGroupAvatarBg, i as isDefaultAvatar, a as getAvatarBg, b as getAvatarText, c as cloneDeep, d as useMessage, e as useUsers, f as useConversations, h as useMsgList, m as mittBus, j as IM_LOGIN_STATUS, k as handleUrl, l as IM_LOGIN_PLATFORM } from "./indexH5-Cx3l8YDq.js";
|
|
5
5
|
import "element-plus";
|
|
6
|
-
import "./request-
|
|
6
|
+
import "./request-rky8JSGo.js";
|
|
7
7
|
import { d as defaultAvatar } from "./default_avatar-BE2kit_X.js";
|
|
8
|
-
import { J as JoinGroupDialogH5, G as GroupInfoDialogH5 } from "./GroupInfoDialogH5-
|
|
8
|
+
import { J as JoinGroupDialogH5, G as GroupInfoDialogH5 } from "./GroupInfoDialogH5-fgcrbRyp.js";
|
|
9
9
|
const _hoisted_1 = { class: "chat-list-h5" };
|
|
10
10
|
const _hoisted_2 = { key: 0 };
|
|
11
11
|
const _hoisted_3 = { style: { "display": "flex", "align-items": "center", "gap": "20px" } };
|
|
@@ -637,6 +637,10 @@ const _sfc_main = {
|
|
|
637
637
|
};
|
|
638
638
|
const onCreateChat = (type) => {
|
|
639
639
|
if (type === "group") {
|
|
640
|
+
localStorage.removeItem("CREATE_GROUP_MEMBERS");
|
|
641
|
+
localStorage.removeItem("CREATE_GROUP_EXISTING_MEMBERS");
|
|
642
|
+
localStorage.removeItem("CREATE_GROUP_FORM");
|
|
643
|
+
localStorage.removeItem("SELECT_MEMBERS_EXISTING_IDS");
|
|
640
644
|
router.push("/create-group");
|
|
641
645
|
}
|
|
642
646
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { ref, computed, markRaw, provide, reactive, watch, onMounted, onBeforeUnmount,
|
|
5
|
-
import { createRouter, createWebHashHistory, routerKey, routeLocationKey } from "vue-router";
|
|
4
|
+
import { ref, computed, markRaw, provide, reactive, watch, onMounted, onBeforeUnmount, openBlock, createBlock, unref } from "vue";
|
|
5
|
+
import { createRouter, createWebHashHistory, routerKey, routerViewLocationKey, routeLocationKey, RouterView } from "vue-router";
|
|
6
6
|
import { showToast } from "vant";
|
|
7
7
|
import { defineStore } from "pinia";
|
|
8
8
|
import axios from "axios";
|
|
@@ -37338,74 +37338,74 @@ const _sfc_main = {
|
|
|
37338
37338
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
37339
37339
|
const routes = [
|
|
37340
37340
|
{
|
|
37341
|
-
path: "/",
|
|
37341
|
+
path: "/messages",
|
|
37342
37342
|
name: "Messages",
|
|
37343
|
-
component: () => import("./indexH5-
|
|
37343
|
+
component: () => import("./indexH5-BZ77bUNH.js"),
|
|
37344
37344
|
meta: { title: "消息" }
|
|
37345
37345
|
},
|
|
37346
|
-
//
|
|
37346
|
+
// 根路径重定向到会话列表页
|
|
37347
37347
|
{
|
|
37348
|
-
path: "/
|
|
37349
|
-
redirect: "/"
|
|
37348
|
+
path: "/",
|
|
37349
|
+
redirect: "/messages"
|
|
37350
37350
|
},
|
|
37351
37351
|
{
|
|
37352
37352
|
path: "/chat",
|
|
37353
37353
|
name: "Chat",
|
|
37354
|
-
component: () => import("./ChatPageH5-
|
|
37354
|
+
component: () => import("./ChatPageH5-wyLGmPhW.js"),
|
|
37355
37355
|
meta: { title: "聊天" }
|
|
37356
37356
|
},
|
|
37357
37357
|
{
|
|
37358
37358
|
path: "/search",
|
|
37359
37359
|
name: "Search",
|
|
37360
|
-
component: () => import("./SearchPageH5-
|
|
37360
|
+
component: () => import("./SearchPageH5-BiGhJF4U.js"),
|
|
37361
37361
|
meta: { title: "搜索" }
|
|
37362
37362
|
},
|
|
37363
37363
|
{
|
|
37364
37364
|
path: "/notice",
|
|
37365
37365
|
name: "Notice",
|
|
37366
|
-
component: () => import("./GroupNoticeH5-
|
|
37366
|
+
component: () => import("./GroupNoticeH5-DVXrcmP9.js"),
|
|
37367
37367
|
meta: { title: "群通知" }
|
|
37368
37368
|
},
|
|
37369
37369
|
{
|
|
37370
37370
|
path: "/create-group",
|
|
37371
37371
|
name: "CreateGroup",
|
|
37372
|
-
component: () => import("./CreateGroupH5-
|
|
37372
|
+
component: () => import("./CreateGroupH5-3LIujy3_.js"),
|
|
37373
37373
|
meta: { title: "创建群组" }
|
|
37374
37374
|
},
|
|
37375
37375
|
{
|
|
37376
37376
|
path: "/select-members",
|
|
37377
37377
|
name: "SelectMembers",
|
|
37378
|
-
component: () => import("./SelectMembersH5-
|
|
37378
|
+
component: () => import("./SelectMembersH5-DbrSnTg3.js"),
|
|
37379
37379
|
meta: { title: "成员选择" }
|
|
37380
37380
|
},
|
|
37381
37381
|
{
|
|
37382
37382
|
path: "/member-detail",
|
|
37383
37383
|
name: "MemberDetail",
|
|
37384
|
-
component: () => import("./MemberDetailH5-
|
|
37384
|
+
component: () => import("./MemberDetailH5-DAVUVr30.js"),
|
|
37385
37385
|
meta: { title: "个人详情" }
|
|
37386
37386
|
},
|
|
37387
37387
|
{
|
|
37388
37388
|
path: "/chat-settings",
|
|
37389
37389
|
name: "ChatSettings",
|
|
37390
|
-
component: () => import("./ChatSettingsH5-
|
|
37390
|
+
component: () => import("./ChatSettingsH5-DD3dnI-H.js"),
|
|
37391
37391
|
meta: { title: "聊天设置" }
|
|
37392
37392
|
},
|
|
37393
37393
|
{
|
|
37394
37394
|
path: "/group-announcement",
|
|
37395
37395
|
name: "GroupAnnouncement",
|
|
37396
|
-
component: () => import("./GroupAnnouncementH5-
|
|
37396
|
+
component: () => import("./GroupAnnouncementH5-5EpXQs5V.js"),
|
|
37397
37397
|
meta: { title: "群公告" }
|
|
37398
37398
|
},
|
|
37399
37399
|
{
|
|
37400
37400
|
path: "/chat-history",
|
|
37401
37401
|
name: "ChatHistory",
|
|
37402
|
-
component: () => import("./ChatHistoryH5-
|
|
37402
|
+
component: () => import("./ChatHistoryH5-Deqlnw3u.js"),
|
|
37403
37403
|
meta: { title: "聊天记录" }
|
|
37404
37404
|
},
|
|
37405
37405
|
{
|
|
37406
37406
|
path: "/group-members",
|
|
37407
37407
|
name: "GroupMembers",
|
|
37408
|
-
component: () => import("./GroupMembersH5-
|
|
37408
|
+
component: () => import("./GroupMembersH5-DX2lxrLB.js"),
|
|
37409
37409
|
meta: { title: "群成员" }
|
|
37410
37410
|
}
|
|
37411
37411
|
];
|
|
@@ -37416,6 +37416,7 @@ const _sfc_main = {
|
|
|
37416
37416
|
})
|
|
37417
37417
|
);
|
|
37418
37418
|
provide(routerKey, router);
|
|
37419
|
+
provide(routerViewLocationKey, router.currentRoute);
|
|
37419
37420
|
const routeLocation = reactive({});
|
|
37420
37421
|
watch(
|
|
37421
37422
|
router.currentRoute,
|
|
@@ -37449,7 +37450,7 @@ const _sfc_main = {
|
|
|
37449
37450
|
clearTimeout(_loginTimer);
|
|
37450
37451
|
_loginTimer = null;
|
|
37451
37452
|
}
|
|
37452
|
-
router.replace("/");
|
|
37453
|
+
router.replace("/messages");
|
|
37453
37454
|
} else {
|
|
37454
37455
|
_loginTimer = setTimeout(() => {
|
|
37455
37456
|
checkLogin();
|
|
@@ -37476,7 +37477,7 @@ const _sfc_main = {
|
|
|
37476
37477
|
};
|
|
37477
37478
|
onMounted(() => {
|
|
37478
37479
|
if (chatMessage.getLoginStatus === IM_LOGIN_STATUS.Logged && window["imInstance"]) {
|
|
37479
|
-
router.replace("/");
|
|
37480
|
+
router.replace("/messages");
|
|
37480
37481
|
}
|
|
37481
37482
|
});
|
|
37482
37483
|
onBeforeUnmount(() => {
|
|
@@ -37490,15 +37491,10 @@ const _sfc_main = {
|
|
|
37490
37491
|
checkLogin
|
|
37491
37492
|
});
|
|
37492
37493
|
return (_ctx, _cache) => {
|
|
37493
|
-
|
|
37494
|
-
|
|
37495
|
-
|
|
37496
|
-
}
|
|
37497
|
-
createVNode(_component_router_view, {
|
|
37498
|
-
onSendChatText,
|
|
37499
|
-
onInviteMember
|
|
37500
|
-
})
|
|
37501
|
-
], 2);
|
|
37494
|
+
return openBlock(), createBlock(unref(RouterView), {
|
|
37495
|
+
onSendChatText,
|
|
37496
|
+
onInviteMember
|
|
37497
|
+
});
|
|
37502
37498
|
};
|
|
37503
37499
|
}
|
|
37504
37500
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import axios from "axios";
|
|
2
2
|
import { ElMessage } from "element-plus";
|
|
3
|
-
import { u as useChatStore, H as EXIT_CODE } from "./indexH5-
|
|
3
|
+
import { u as useChatStore, H as EXIT_CODE } from "./indexH5-Cx3l8YDq.js";
|
|
4
4
|
const requestInstance = axios.create({
|
|
5
5
|
baseURL: "",
|
|
6
6
|
timeout: 6e4,
|