diff --git a/src/components/navigation/navigation.ts b/src/components/navigation/navigation.ts index 952aff6..9897e17 100644 --- a/src/components/navigation/navigation.ts +++ b/src/components/navigation/navigation.ts @@ -74,7 +74,7 @@ export default class Navigation extends Vue this.$emit('update:activeIndex', newIndex); // Record or not - if (history == null || !history) return; + if (history != null && !history) return; // Check url let url = `/${newIndex}`;