diff --git a/common/share.js b/common/share.js index 3879e40..303c913 100644 --- a/common/share.js +++ b/common/share.js @@ -24,7 +24,7 @@ export default { //分享 async doShare() { - const app = getApp(); + let that = this; that.localPath = window.location.href; @@ -50,6 +50,7 @@ export default { h5ShareMethod(){ let that = this; + const app = getApp(); if(!that.resVerifyWx){ return }