We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab306c4 commit c35f0e7Copy full SHA for c35f0e7
src/pages/login/index.vue
@@ -54,7 +54,7 @@ function handleLogin() {
54
loading.value = true
55
loginApi(loginFormData).then(({ data }) => {
56
userStore.setToken(data.token)
57
- router.push({ path: "/" })
+ router.push("/")
58
}).catch(() => {
59
createCode()
60
loginFormData.password = ""
0 commit comments