登录判断

This commit is contained in:
bohehxx 2022-06-22 21:24:13 +08:00
parent 843d031abf
commit e425b9b988

View File

@ -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')