Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cmb_auth
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
cmb_auth
Commits
db7d8de3
Commit
db7d8de3
authored
Sep 28, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b98dd038
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app.jsx
src/app.jsx
+2
-2
No files found.
src/app.jsx
View file @
db7d8de3
...
...
@@ -23,7 +23,7 @@ class App extends Component {
redirectUrl
:
""
,
cmbData
:
code
});
location
.
href
=
generateLoginUrlResult
.
data
;
//
location.href = generateLoginUrlResult.data;
}
else
{
//没有获取到code
...
...
@@ -34,7 +34,7 @@ class App extends Component {
+
"?protocol="
+
encodeURIComponent
(
protocol
)
+
"&merchantApprovalUrl="
+
encodeURIComponent
(
window
.
location
.
href
);
window
.
location
.
href
=
redirectUrl
;
//
window.location.href = redirectUrl;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment