Commit bf3349ab by 陆志强

Merge branch 'fix/login' into dev

parents ebdec976 00d487d0
......@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment