|
|
@@ -1057,6 +1057,7 @@
|
|
|
onUnload() {
|
|
|
uni.closeSocket()
|
|
|
uni.hideLoading()
|
|
|
+ uni.$off('updateAttachmentList')
|
|
|
clearInterval(this.recordsInter)
|
|
|
this.recordsInter = null
|
|
|
clearInterval(this.socketTimer)
|
|
|
@@ -1131,6 +1132,14 @@
|
|
|
// #ifdef APP
|
|
|
//this.getAudioPermision()
|
|
|
// #endif
|
|
|
+ uni.$on('updateAttachmentList',()=>{
|
|
|
+ this.$Request.get("/app/resumes/getAttachment").then(res => {
|
|
|
+ if (res.code == 0) {
|
|
|
+ this.attachmentContent=res.data
|
|
|
+ }
|
|
|
+ uni.hideLoading();
|
|
|
+ });
|
|
|
+ })
|
|
|
},
|
|
|
onShow() {
|
|
|
if (this.chatConversationId) {
|