Skip to content

Commit 385070f

Browse files
author
juzhiyuan
committed
feat: remove codes
1 parent d80f6cd commit 385070f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/views/login/index.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,9 @@ export default class extends Vue {
9898
private redirect?: string
9999
100100
private async handleLogin() {
101-
console.log(this.loginForm)
102101
await UserModule.Login({ username: '', password: '' })
103102
localStorage.setItem('GLOBAL_API_KEY', this.loginForm.apikey)
104-
window.location.replace('/dashboard')
103+
window.location.replace('/')
105104
}
106105
}
107106
</script>

0 commit comments

Comments
 (0)