mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
feat: 添加移动端提示可能要发送的图片
This commit is contained in:
parent
50106d19e8
commit
9d9213fbdb
@ -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,
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user