Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
activities
/
web-questionnaire
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9c71505d
authored
Nov 22, 2024
by
陆志强
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/login' into test
parents
4d258803
00d487d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
plugins/UserAction/login.js
+3
-1
No files found.
plugins/UserAction/login.js
View file @
9c71505d
...
...
@@ -5,7 +5,9 @@ export default function({token, onFinished} = {token: ''}) {
const
{
id
}
=
this
.
$route
.
params
token
&&
Cookie
.
set
(
'token'
,
token
,
{
expires
:
10
});
this
.
$store
.
dispatch
(
'users/getUerInfo'
,
{
uin
})
this
.
$store
.
dispatch
(
'users/postInfo'
,
{
id
})
setTimeout
(()
=>
{
this
.
$store
.
dispatch
(
'users/postInfo'
,
{
id
})
},
1000
)
onFinished
&&
onFinished
()
return
this
}
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