Skip to content

Commit

Permalink
fix(Stepper): fix value check
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitano committed Aug 25, 2022
1 parent 9c5a028 commit 90f1c49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/steppers/src/StepperItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const isFirst = computed(() => first.value || index.value === 0);
const isRouterLink = computed(() =>
['router-link', 'RouterLink'].includes(as.value),
);
const to = computed(() => (isRouterLink ? item.value.path : ''));
const to = computed(() => (isRouterLink.value ? item.value.path : ''));
</script>

<template>
Expand Down

0 comments on commit 90f1c49

Please sign in to comment.