Skip to content

Commit 43c1a6a

Browse files
fix(home): changelog exit error 🐛 (#1737)
1 parent cf6f194 commit 43c1a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/home/views/pages.view.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default {
8282
},
8383
watch: {
8484
$route(route) {
85-
if (this.page !== route.params.name) {
85+
if (route.params.name !== undefined && this.page !== route.params.name) {
8686
this.$store.dispatch(this.$route.meta.data, this.$route.params.name);
8787
this.page = this.$route.params.name;
8888
}

0 commit comments

Comments
 (0)