修改登录页
This commit is contained in:
@@ -136,8 +136,7 @@ const onSubmit = async (formEl: FormInstance | undefined) => {
|
||||
useInfo.setToken(res.data.token_type + ' ' + res.data.access_token, 'auth')
|
||||
state.submitLoading = false
|
||||
router.push({
|
||||
path: '/admin/dashboard',
|
||||
name: 'dashboard'
|
||||
path: 'admin/dashboard'
|
||||
})
|
||||
} else {
|
||||
ElMessage({
|
||||
|
||||
Reference in New Issue
Block a user