feat: 添加移动端提示可能要发送的图片

This commit is contained in:
kuaifan 2025-03-29 00:23:49 +08:00
parent 50106d19e8
commit 9d9213fbdb
2 changed files with 2 additions and 0 deletions

View File

@ -1643,6 +1643,7 @@ export default {
type: 'photo', type: 'photo',
msg: { msg: {
type: 'img', type: 'img',
filename: this.maybePhotoData.original.name,
path: this.maybePhotoData.original.path, path: this.maybePhotoData.original.path,
width: this.maybePhotoData.original.width, width: this.maybePhotoData.original.width,
height: this.maybePhotoData.original.height, height: this.maybePhotoData.original.height,

View File

@ -1749,6 +1749,7 @@ export default {
url: $A.apiUrl('dialog/msg/sendfile'), url: $A.apiUrl('dialog/msg/sendfile'),
data: { data: {
dialog_id: tempMsg.dialog_id, dialog_id: tempMsg.dialog_id,
filename: msg.filename
}, },
headers: { headers: {
token: this.userToken, token: this.userToken,