Commit 3eda3608 by 程默

fix

parent b844054f
...@@ -346,14 +346,14 @@ export default { ...@@ -346,14 +346,14 @@ export default {
success: function(res) { success: function(res) {
// 转发成功之后的回调 // 转发成功之后的回调
if (res.errMsg == "shareAppMessage:ok") { if (res.errMsg == "shareAppMessage:ok") {
consol.log(res, "分享成功"); console.log(res, "分享成功");
} }
}, },
fail: function() { fail: function() {
// 转发失败之后的回调 // 转发失败之后的回调
if (res.errMsg == "shareAppMessage:fail cancel") { if (res.errMsg == "shareAppMessage:fail cancel") {
// 用户取消转发 // 用户取消转发
consol.log(res, "分享失败"); console.log(res, "分享失败");
} else if (res.errMsg == "shareAppMessage:fail") { } else if (res.errMsg == "shareAppMessage:fail") {
// 转发失败,其中 detail message 为详细失败信息 // 转发失败,其中 detail message 为详细失败信息
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment