diff --git a/src/App.vue b/src/App.vue index a1f57161..e95fa5cc 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,6 +8,7 @@ export default { } }, onLaunch: function () { + this.repairWxSDK() }, onShow: function () { this.initWaterMarker() @@ -29,6 +30,9 @@ export default { cb && cb() } }) + }, + repairWxSDK() { + wx = jWeixin } }, }