登录后页面跳转路由修改
This commit is contained in:
parent
55d4b504b6
commit
de20585560
|
|
@ -15,7 +15,7 @@ const onSubmit = async (values) => {
|
|||
try {
|
||||
const res = await loginApi(values);
|
||||
localStorage.setItem('token', res.data.access_token);
|
||||
router.push({ path: '/applyList' });
|
||||
router.push({ path: '/waitList' });
|
||||
} finally {
|
||||
btnLoading.value = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue