This commit is contained in:
shijingjing
2022-09-20 09:41:52 +08:00
parent 0e6ec0a31d
commit 984e3f0a83

View File

@@ -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, {