diff --git a/lms/nladmin-ui/src/views/login.vue b/lms/nladmin-ui/src/views/login.vue
index 59876e706..a7f5fbb23 100644
--- a/lms/nladmin-ui/src/views/login.vue
+++ b/lms/nladmin-ui/src/views/login.vue
@@ -2,7 +2,7 @@
- {{title}}
+ {{ title }}
@@ -130,7 +130,8 @@ export default {
}
this.$store.dispatch('Login', user).then(() => {
this.loading = false
- this.$router.push({ path: this.redirect || '/' })
+ window.location.href = this.redirect
+ // this.$router.push({ path: this.redirect || '/' })
}).catch(() => {
this.loading = false
this.getCode()