Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-h5-ailipay
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7a94d5ca
authored
Nov 11, 2021
by
liwk
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改redirect_uri地址
1 parent
04627b45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
9 deletions
src/store/modules/app.js
src/store/modules/app.js
View file @
7a94d5c
...
@@ -38,11 +38,6 @@ const mutations = {
...
@@ -38,11 +38,6 @@ const mutations = {
}
}
const
actions
=
{
const
actions
=
{
// 设置name
setUserInfo
({
commit
},
user
)
{
commit
(
'SET_USER_INFO'
,
user
)
store
.
set
(
store
.
consts
.
USER_KEY
,
user
)
},
setPageMeta
({
commit
},
meta
)
{
setPageMeta
({
commit
},
meta
)
{
document
.
title
=
meta
.
title
document
.
title
=
meta
.
title
commit
(
'SET_PAGE_META'
,
meta
)
commit
(
'SET_PAGE_META'
,
meta
)
...
@@ -53,9 +48,6 @@ const actions = {
...
@@ -53,9 +48,6 @@ const actions = {
setAccountList
({
commit
},
list
)
{
setAccountList
({
commit
},
list
)
{
commit
(
'SET_ACCOUNT_LIST'
,
list
)
commit
(
'SET_ACCOUNT_LIST'
,
list
)
},
},
setSessionId
({
commit
},
id
)
{
commit
(
'SET_SESSION_ID'
,
id
)
},
pushKeep
({
commit
},
name
)
{
pushKeep
({
commit
},
name
)
{
commit
(
'PUSH_KEEP'
,
name
)
commit
(
'PUSH_KEEP'
,
name
)
},
},
...
@@ -82,7 +74,7 @@ const actions = {
...
@@ -82,7 +74,7 @@ const actions = {
if
(
data
.
loginList
.
length
>
1
)
{
if
(
data
.
loginList
.
length
>
1
)
{
util
.
setLocalStorage
(
'dj_scrm_loginToken'
,
data
.
loginToken
)
util
.
setLocalStorage
(
'dj_scrm_loginToken'
,
data
.
loginToken
)
util
.
setLocalStorage
(
'dj_scrm_accountList'
,
data
.
loginList
)
util
.
setLocalStorage
(
'dj_scrm_accountList'
,
data
.
loginList
)
let
redirect_uri
=
encodeURI
(
`
${
redirectUrl
}${
route
}
`
)
let
redirect_uri
=
encodeURI
(
`
${
redirectUrl
}
#/
${
route
}
`
)
// 先注释
// 先注释
console
.
log
(
'回调'
,
`
${
url
}
common/accountList?redirect_uri=
${
redirect_uri
}
`
)
console
.
log
(
'回调'
,
`
${
url
}
common/accountList?redirect_uri=
${
redirect_uri
}
`
)
window
.
location
.
href
=
`
${
url
}
common/accountList?redirect_uri=
${
redirect_uri
}
`
window
.
location
.
href
=
`
${
url
}
common/accountList?redirect_uri=
${
redirect_uri
}
`
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment