mirror of
https://github.com/Teamlinker/Teamlinker.git
synced 2025-06-03 03:00:17 +00:00
登录判断
This commit is contained in:
parent
843d031abf
commit
e425b9b988
@ -117,7 +117,7 @@ export default {
|
||||
const type = res.data.type
|
||||
await store.dispatch('user/login', values)
|
||||
message.success('登录成功!')
|
||||
if(type===1){
|
||||
if(type===0){
|
||||
// const toPath = decodeURIComponent(route.query.redirect || '/')
|
||||
router.replace('/organization/list')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user