|
|
@@ -498,38 +498,38 @@ export default {
|
|
|
},
|
|
|
|
|
|
// 群聊确定按钮处理
|
|
|
- callingHandler() {
|
|
|
- if (this.callingList.length < 1) {
|
|
|
- this.$message.warning('请选择成员')
|
|
|
- return
|
|
|
- }
|
|
|
-
|
|
|
- if (this.listTpye === 'groupAt') {
|
|
|
- // @成员处理...(原有逻辑)
|
|
|
- return
|
|
|
- }
|
|
|
-
|
|
|
- if (this.listTpye === 'calling') {
|
|
|
- const callingData = {
|
|
|
- memberList: this.callingList,
|
|
|
- type: 3 // 群聊
|
|
|
- }
|
|
|
-
|
|
|
- // 1. 存储通话信息
|
|
|
- this.$store.commit('setCallingList', callingData)
|
|
|
-
|
|
|
- // 2. 根据类型触发不同事件
|
|
|
- if (this.callingType === 'video') {
|
|
|
- console.log("发起群视频通话,成员:", this.callingList)
|
|
|
- this.$bus.$emit('video-call')
|
|
|
- } else {
|
|
|
- console.log("发起群语音通话,成员:", this.callingList)
|
|
|
- this.$bus.$emit('audio-call')
|
|
|
- }
|
|
|
-
|
|
|
- this.showCallingMember = false
|
|
|
- }
|
|
|
- },
|
|
|
+ // callingHandler() {
|
|
|
+ // if (this.callingList.length < 1) {
|
|
|
+ // this.$message.warning('请选择成员')
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ //
|
|
|
+ // if (this.listTpye === 'groupAt') {
|
|
|
+ // // @成员处理...(原有逻辑)
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ //
|
|
|
+ // if (this.listTpye === 'calling') {
|
|
|
+ // const callingData = {
|
|
|
+ // memberList: this.callingList,
|
|
|
+ // type: 3 // 群聊
|
|
|
+ // }
|
|
|
+ //
|
|
|
+ // // 1. 存储通话信息
|
|
|
+ // this.$store.commit('setCallingList', callingData)
|
|
|
+ //
|
|
|
+ // // 2. 根据类型触发不同事件
|
|
|
+ // if (this.callingType === 'video') {
|
|
|
+ // console.log("发起群视频通话,成员:", this.callingList)
|
|
|
+ // this.$bus.$emit('video-call')
|
|
|
+ // } else {
|
|
|
+ // console.log("发起群语音通话,成员:", this.callingList)
|
|
|
+ // this.$bus.$emit('audio-call')
|
|
|
+ // }
|
|
|
+ //
|
|
|
+ // this.showCallingMember = false
|
|
|
+ // }
|
|
|
+ // },
|
|
|
handleEmojiShow () {
|
|
|
this.emojiShow = true
|
|
|
this.bigEmojiShow = false
|