This commit is contained in:
bobobobo
2026-02-01 15:19:53 +08:00
parent 3060d8386c
commit 69bb850559
4 changed files with 16 additions and 2 deletions

View File

@@ -238,7 +238,7 @@
} }
return groupInfo.profile.type === TUIChatEngine.TYPES.GRP_COMMUNITY return groupInfo.profile.type === TUIChatEngine.TYPES.GRP_COMMUNITY
? [groupNameInput] ? [groupNameInput]
: [groupNameInput, groupIDInput] : [groupNameInput]
}) })
const submitDisabledStatus = computed(() => { const submitDisabledStatus = computed(() => {
@@ -307,6 +307,7 @@
} }
const res = await TUIGroupService.createGroup({ const res = await TUIGroupService.createGroup({
...options, ...options,
groupID: '',
avatar: groupAvatar.value avatar: groupAvatar.value
}) })
const { type } = res.data.group const { type } = res.data.group

View File

@@ -147,3 +147,11 @@ export const getIpBlack = (loading = true) => {
loading loading
}) })
} }
/** 获取随机群号 */
export const getRandomGroup = () => {
return http({
url: '/api/service/customerStaff/generateGroupId',
method: 'get'
})
}

View File

@@ -27,7 +27,9 @@
"modules" : { "modules" : {
"Barcode" : {}, "Barcode" : {},
"Camera" : {}, "Camera" : {},
"LivePusher" : {}, "VideoPlayer" : {},
"iBeacon" : {},
"Bluetooth" : {},
"Record" : {} "Record" : {}
}, },
/* */ /* */

View File

@@ -147,6 +147,9 @@ export const useUserStore = defineStore('user', () => {
// #ifdef APP-PLUS // #ifdef APP-PLUS
await useLoginState().logout() await useLoginState().logout()
// #endif // #endif
// #ifdef H5
await useLoginState().logout()
// #endif
clearAllUserInfo() clearAllUserInfo()
await showToast('退出登录成功', 'success') await showToast('退出登录成功', 'success')
reLaunch('/pages/login/login') reLaunch('/pages/login/login')