Commit db7d8de3 authored by wildfirecode13's avatar wildfirecode13

1

parent b98dd038
...@@ -23,7 +23,7 @@ class App extends Component { ...@@ -23,7 +23,7 @@ class App extends Component {
redirectUrl: "", redirectUrl: "",
cmbData: code cmbData: code
}); });
location.href = generateLoginUrlResult.data; // location.href = generateLoginUrlResult.data;
} else { //没有获取到code } else { //没有获取到code
...@@ -34,7 +34,7 @@ class App extends Component { ...@@ -34,7 +34,7 @@ class App extends Component {
+ "?protocol=" + encodeURIComponent(protocol) + "?protocol=" + encodeURIComponent(protocol)
+ "&merchantApprovalUrl=" + encodeURIComponent(window.location.href); + "&merchantApprovalUrl=" + encodeURIComponent(window.location.href);
window.location.href = redirectUrl; // window.location.href = redirectUrl;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment