Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
html
/
wanda-ball
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7ba6c15d
authored
May 23, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
473fc52a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
+1
-2
src/modules/store/index.js
+1
-1
src/pages/user/App.vue
+0
-1
No files found.
src/modules/store/index.js
View file @
7ba6c15d
...
...
@@ -101,7 +101,7 @@ export default new Vuex.Store({
}
}).
then
(
res
=>
{
window
.
localStorage
.
setItem
(
'callbackurl'
,
location
.
href
)
"认证跳转"
alert
(
'跳转'
)
location
.
replace
(
res
.
data
.
data
.
url
)
state
.
isAuth
=
false
})
...
...
src/pages/user/App.vue
View file @
7ba6c15d
...
...
@@ -50,7 +50,6 @@ export default {
store
.
commit
(
'getUserInfo'
)
}
else
{
if
(
!
this
.
getQuery
(
'code'
)
&&
!
store
.
state
.
token
)
{
alert
(
'我掉的认证'
)
store
.
dispatch
(
'getAuth'
)
}
}
...
...
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