Parcourir la source

修改404跳转到home

画安 il y a 1 semaine
Parent
commit
edb348b522
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/NotFound.vue

+ 1 - 1
src/views/NotFound.vue

@@ -20,7 +20,7 @@ export default {
   name: 'NotFound',
   methods: {
     goBack() {
-      this.$router.push('/login');
+      this.$router.push('/home');
     }
   }
 }