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