diff --git a/docs/src/components/side-nav.vue b/docs/src/components/side-nav.vue index dd15b876c..567f9db32 100644 --- a/docs/src/components/side-nav.vue +++ b/docs/src/components/side-nav.vue @@ -55,7 +55,7 @@ export default { methods: { handleTitleClick(item) { const firstGroup = item.groups && item.groups[0]; - if (firstGroup && firstGroup.list && firstGroup.list.length !== 0) { + if (firstGroup && firstGroup.list && firstGroup.list.length !== 0) { return this.$router.replace(this.base + firstGroup.list[0].path); } } @@ -65,7 +65,7 @@ export default {