测试
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -147,3 +147,11 @@ export const getIpBlack = (loading = true) => {
|
|||||||
loading
|
loading
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** 获取随机群号 */
|
||||||
|
export const getRandomGroup = () => {
|
||||||
|
return http({
|
||||||
|
url: '/api/service/customerStaff/generateGroupId',
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
@@ -27,7 +27,9 @@
|
|||||||
"modules" : {
|
"modules" : {
|
||||||
"Barcode" : {},
|
"Barcode" : {},
|
||||||
"Camera" : {},
|
"Camera" : {},
|
||||||
"LivePusher" : {},
|
"VideoPlayer" : {},
|
||||||
|
"iBeacon" : {},
|
||||||
|
"Bluetooth" : {},
|
||||||
"Record" : {}
|
"Record" : {}
|
||||||
},
|
},
|
||||||
/* 应用发布信息 */
|
/* 应用发布信息 */
|
||||||
|
|||||||
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user