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
? [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

View File

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

View File

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

View File

@@ -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')