This commit is contained in:
yanran200730
2022-07-28 18:05:10 +08:00
parent 925ecd38c4
commit fc2e58a3cd

View File

@@ -54,9 +54,7 @@ export default {
oInput.remove()
},
share() {
this.agentSign({
corpId: this.wxwork.config.corpId
}).then(() => {
this.agentSign().then(() => {
this.injectJWeixin(['shareAppMessage', 'shareWechatMessage']).then(() => {
this.wxInvoke(['shareAppMessage', {
title: this.params.title,
@@ -68,9 +66,7 @@ export default {
})
},
shareWechat() {
this.agentSign({
corpId: this.wxwork.config.corpId
}).then(() => {
this.agentSign().then(() => {
this.injectJWeixin(['shareAppMessage', 'shareWechatMessage']).then(() => {
this.wxInvoke(['shareWechatMessage', {
title: this.params.title,