bug
This commit is contained in:
@@ -183,15 +183,16 @@ export default {
|
|||||||
})
|
})
|
||||||
data = [ ...imgs, ...videos, ...files, ...links, ...miniapps ]
|
data = [ ...imgs, ...videos, ...files, ...links, ...miniapps ]
|
||||||
this.shareToExternalChat({ text: text, attachments: data }).then((res) =>{
|
this.shareToExternalChat({ text: text, attachments: data }).then((res) =>{
|
||||||
console.log(res)
|
if(res.err_msg == "shareToExternalChat:ok") {
|
||||||
// if (res.err_msg == "shareToExternalChat:ok") {
|
this.status = 'ok'
|
||||||
// this.status = 'ok'
|
this.nextCallback()
|
||||||
// this.nextCallback()
|
} else if(res.err_msg == "shareToExternalChat:fail_empty parameters") {
|
||||||
// } else {
|
console.log('取消发送')
|
||||||
// this.status = 'fail'
|
} else {
|
||||||
// this.nextCallback()
|
this.status = 'fail'
|
||||||
// }
|
this.nextCallback()
|
||||||
})
|
}
|
||||||
|
}).catch(()=>{})
|
||||||
},
|
},
|
||||||
nextCallback() {
|
nextCallback() {
|
||||||
this.$http.post(`/app/appmasssendingtask/h5Callback`, null, {
|
this.$http.post(`/app/appmasssendingtask/h5Callback`, null, {
|
||||||
|
|||||||
Reference in New Issue
Block a user