diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index 7e806a9..faa556e 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -166,6 +166,8 @@ export default { }, getNavViewName() { let name = this.$route.name; + + if(this.$route.name === 'NotFound404') return; this.navViewName = this.$route.matched[1].name.toUpperCase(); this.store.filesTag = 'ALL'; switch (this.navViewName) { diff --git a/src/views/NotFound404.vue b/src/views/NotFound404.vue index 4303204..e6defb2 100644 --- a/src/views/NotFound404.vue +++ b/src/views/NotFound404.vue @@ -8,7 +8,7 @@

404

您想找的頁面不存在

請重新確認搜尋的項目或是回到 Files 頁

- 回到 Files 頁 + 回到 Files 頁