瀏覽代碼

修改404跳转到home

画安 1 周之前
父節點
當前提交
edb348b522
共有 1 個文件被更改,包括 1 次插入1 次删除
  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');
     }
   }
 }