|
|
|
@ -11,7 +11,7 @@ function share() { //微信分享 |
|
|
|
// url: Vue.prototype.$config.redirect + '/#/'
|
|
|
|
url: location.href.split('#')[0] |
|
|
|
} |
|
|
|
login.getSignPackage(data, res => { |
|
|
|
login.getSignPackage(data).then(res => { |
|
|
|
if (res.code == 200) { |
|
|
|
let { |
|
|
|
appId, |
|
|
|
@ -19,6 +19,7 @@ function share() { //微信分享 |
|
|
|
signature, |
|
|
|
timestamp |
|
|
|
} = res.result |
|
|
|
console.log(appId); |
|
|
|
jWeixin.config({ |
|
|
|
debug: true, |
|
|
|
appId: appId, |
|
|
|
|