diff --git a/page_user/pingzhuo/qunliao.vue b/page_user/pingzhuo/qunliao.vue index bf9da9b..116677b 100644 --- a/page_user/pingzhuo/qunliao.vue +++ b/page_user/pingzhuo/qunliao.vue @@ -647,11 +647,9 @@ } _this.messages.push(tempMessage) _this.sendingMessages.add(tempId) - _this.$nextTick(() => { _this.scrollToBottom() }) - wx.uploadFile({ url: 'https://up-z2.qiniup.com', name: 'file', @@ -664,13 +662,11 @@ console.log(res, 'resres') let str = JSON.parse(res.data) const imageUrl = 'https://api.ccttiot.com/' + str.key - // 更新消息内容为真实URL const index = _this.messages.findIndex(msg => msg.tempId === tempId) if (index !== -1) { _this.messages[index].content = imageUrl } - // 发送消息到服务器 let data = { teamId: _this.teamId,