From 69bb850559d98b4ec64aefb937aa3819af8bb316 Mon Sep 17 00:00:00 2001 From: bobobobo <1055026847@qq.com> Date: Sun, 1 Feb 2026 15:19:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TUIKit/components/TUIGroup/create-group/index.vue | 3 ++- api/index.js | 8 ++++++++ manifest.json | 4 +++- stores/user.js | 3 +++ 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/TUIKit/components/TUIGroup/create-group/index.vue b/TUIKit/components/TUIGroup/create-group/index.vue index 95a3895..6dca803 100644 --- a/TUIKit/components/TUIGroup/create-group/index.vue +++ b/TUIKit/components/TUIGroup/create-group/index.vue @@ -238,7 +238,7 @@ } return groupInfo.profile.type === TUIChatEngine.TYPES.GRP_COMMUNITY ? [groupNameInput] - : [groupNameInput, groupIDInput] + : [groupNameInput] }) const submitDisabledStatus = computed(() => { @@ -307,6 +307,7 @@ } const res = await TUIGroupService.createGroup({ ...options, + groupID: '', avatar: groupAvatar.value }) const { type } = res.data.group diff --git a/api/index.js b/api/index.js index a299327..89b90c0 100644 --- a/api/index.js +++ b/api/index.js @@ -146,4 +146,12 @@ export const getIpBlack = (loading = true) => { method: 'get', loading }) +} + +/** 获取随机群号 */ +export const getRandomGroup = () => { + return http({ + url: '/api/service/customerStaff/generateGroupId', + method: 'get' + }) } \ No newline at end of file diff --git a/manifest.json b/manifest.json index 64241d5..0da027a 100644 --- a/manifest.json +++ b/manifest.json @@ -27,7 +27,9 @@ "modules" : { "Barcode" : {}, "Camera" : {}, - "LivePusher" : {}, + "VideoPlayer" : {}, + "iBeacon" : {}, + "Bluetooth" : {}, "Record" : {} }, /* 应用发布信息 */ diff --git a/stores/user.js b/stores/user.js index 1ba17bc..ab4ea3a 100644 --- a/stores/user.js +++ b/stores/user.js @@ -147,6 +147,9 @@ export const useUserStore = defineStore('user', () => { // #ifdef APP-PLUS await useLoginState().logout() // #endif + // #ifdef H5 + await useLoginState().logout() + // #endif clearAllUserInfo() await showToast('退出登录成功', 'success') reLaunch('/pages/login/login')