|
@@ -155,7 +155,7 @@ export default { |
|
|
if (params) { |
|
|
if (params) { |
|
|
this.params = { ...params }; |
|
|
this.params = { ...params }; |
|
|
let url = window.location.href.split("?code=")[1]; |
|
|
let url = window.location.href.split("?code=")[1]; |
|
|
if (isNotNull(url) || window.location.href.indexOf("code") > -1) { |
|
|
|
|
|
|
|
|
if (isNotNull(url) && window.location.href.indexOf("code") > -1 && this.isWeChat) { |
|
|
let timeStamp = new Date().getTime(); |
|
|
let timeStamp = new Date().getTime(); |
|
|
let code = url.split("&")[0]; |
|
|
let code = url.split("&")[0]; |
|
|
this.code = code; |
|
|
this.code = code; |
|
|