fix: 404 page back router done.

This commit is contained in:
chiayin
2024-02-23 17:11:19 +08:00
parent ffd13ad1f7
commit 1ab59a859b
2 changed files with 3 additions and 1 deletions

View File

@@ -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) {