Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
cbc336f3
Commit
cbc336f3
authored
2 years ago
by
杨思琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 企业微信登录还原
parent
43951857
master
dev
devNew
soundai
test
zhongyi
No related merge requests found
Pipeline
#63921
passed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
login.js
src/pages/user/login/login.js
+1
-1
WeComLogin.js
src/pages/user/login/template/cloud/WeComLogin.js
+2
-2
No files found.
src/pages/user/login/login.js
View file @
cbc336f3
...
...
@@ -489,7 +489,7 @@ class Login {
id
:
'wxlogin_container'
,
appid
:
'wxec56ca668e7f9155'
,
agentid
:
'1000083'
,
redirect_uri
:
encodeURIComponent
(
window
.
location
.
href
.
replace
(
'user/login'
,
''
)
),
redirect_uri
:
encodeURIComponent
(
window
.
location
.
href
),
href
:
'https://mis.panda-water.cn/web4/styles/wx.css'
,
});
}
...
...
This diff is collapsed.
Click to expand it.
src/pages/user/login/template/cloud/WeComLogin.js
View file @
cbc336f3
...
...
@@ -10,7 +10,7 @@ const useWeCom = props => {
id
:
props
.
container
||
'wxlogin_container'
,
appid
:
props
.
appid
||
WECOM_APPID
,
agentid
:
props
.
agentid
||
AGENTID_CLOUD
,
redirect_uri
:
props
.
redirect_uri
||
encodeURIComponent
(
window
.
location
.
href
.
replace
(
'user/login'
,
''
)
),
redirect_uri
:
props
.
redirect_uri
||
encodeURIComponent
(
window
.
location
.
href
),
href
:
props
.
href
||
'https://panda-water.cn/web4/styles/wx.css'
,
self_redirect
:
false
,
state
:
props
.
state
||
'STATE'
,
...
...
@@ -42,7 +42,7 @@ const useIOTQRCode = () => {
container
:
'wxlogin_container'
,
appid
:
WECOM_APPID
,
agentid
:
AGENTID_CLOUD
,
redirect_uri
:
encodeURIComponent
(
window
.
location
.
href
.
replace
(
'user/login'
,
''
)
),
// window.location.href
redirect_uri
:
encodeURIComponent
(
window
.
location
.
href
),
// window.location.href
href
:
'https://panda-water.cn/web4/styles/wecom.css'
,
state
:
rstate
,
},
...
...
This diff is collapsed.
Click to expand it.
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