Browse Source

Merge branch 'feat' into develop

pull/2/head
JinxChen 1 year ago
parent
commit
49b95332cf
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/views/package-home/index.vue

+ 3
- 2
src/views/package-home/index.vue View File

@@ -57,7 +57,8 @@ export default {
console.log("微信"); console.log("微信");
let url = window.location.href.split("?code=")[1]; let url = window.location.href.split("?code=")[1];
console.log("获取授权code的url", url); console.log("获取授权code的url", url);
if (
this.getWxCode();
/* if (
isNotNull(url) || isNotNull(url) ||
window.location.href.indexOf("code") > -1 window.location.href.indexOf("code") > -1
) { ) {
@@ -69,7 +70,7 @@ export default {
} }
} else { } else {
this.getWxCode(); this.getWxCode();
}
} */
} else { } else {
this.getWxCode(); this.getWxCode();
console.log("当前浏览器内核并非支付宝或者微信"); console.log("当前浏览器内核并非支付宝或者微信");


Loading…
Cancel
Save