修改登录页

This commit is contained in:
GGJ
2023-12-26 10:14:30 +08:00
parent ad034b4179
commit ce0eff7230

View File

@@ -136,8 +136,7 @@ const onSubmit = async (formEl: FormInstance | undefined) => {
useInfo.setToken(res.data.token_type + ' ' + res.data.access_token, 'auth') useInfo.setToken(res.data.token_type + ' ' + res.data.access_token, 'auth')
state.submitLoading = false state.submitLoading = false
router.push({ router.push({
path: '/admin/dashboard', path: 'admin/dashboard'
name: 'dashboard'
}) })
} else { } else {
ElMessage({ ElMessage({