群聊的基础页面

This commit is contained in:
2022-02-10 10:22:43 +08:00
parent 699c178bd7
commit e2243bcc99
22 changed files with 940 additions and 421 deletions

View File

@@ -35,6 +35,11 @@
recorderManager: null
}
},
computed: {
user() {
return this.$store.getters.sender
}
},
created() {
this.recorderManager = uni.getRecorderManager()
},
@@ -81,7 +86,7 @@
this.recorderManager.onStop(res => {
im.sentVoice(this.conversationType, this.targetId, res.tempFilePath, (this.maxRecordTime -
this
.recordTime), () => {
.recordTime), this.user, () => {
setTimeout(() => {
this.$emit('success')
}, 500)