diff --git a/packages/ui/src/components/va-breadcrumbs/VaBreadcrumbs.demo.vue b/packages/ui/src/components/va-breadcrumbs/VaBreadcrumbs.demo.vue
index 0329c119b75..a642ff83bf2 100644
--- a/packages/ui/src/components/va-breadcrumbs/VaBreadcrumbs.demo.vue
+++ b/packages/ui/src/components/va-breadcrumbs/VaBreadcrumbs.demo.vue
@@ -75,6 +75,16 @@
+
+
+
+
+
+
+
+
Color:
diff --git a/packages/ui/src/components/va-breadcrumbs/VaBreadcrumbs.vue b/packages/ui/src/components/va-breadcrumbs/VaBreadcrumbs.vue
index aff9bccd2ca..fcd9a36a3fe 100644
--- a/packages/ui/src/components/va-breadcrumbs/VaBreadcrumbs.vue
+++ b/packages/ui/src/components/va-breadcrumbs/VaBreadcrumbs.vue
@@ -35,8 +35,10 @@ export default defineComponent({
}
const createSeparatorComponent = () => {
- // Temp fix for https://github.com/vuejs/vue-next/issues/3666. Move `separatorNode` outside this method.
- const separatorNode = (slots.separator ? slots.separator() : 0) || [props.separator]
+ // Temp fix for https://github.com/intlify/vue-i18n-next/issues/412
+ // `separatorNode` can be moved outside this method after update vuestic's minimal vue version to 3.1.0
+ // testing: have to monitor errors after leaving breadcrumbs page in doc
+ const separatorNode = slots.separator ? slots.separator() : [props.separator]
return h('span', {
class: ['va-breadcrumbs__separator'],
diff --git a/packages/ui/src/components/va-breadcrumbs/VaBreadcrumbsItem/VaBreadcrumbsItem.vue b/packages/ui/src/components/va-breadcrumbs/VaBreadcrumbsItem/VaBreadcrumbsItem.vue
index dc8bf63912d..121d3d0eedb 100644
--- a/packages/ui/src/components/va-breadcrumbs/VaBreadcrumbsItem/VaBreadcrumbsItem.vue
+++ b/packages/ui/src/components/va-breadcrumbs/VaBreadcrumbsItem/VaBreadcrumbsItem.vue
@@ -35,7 +35,7 @@ export default defineComponent({
setup: (props) => {
const { hasRouterLinkParams, hrefComputed } = useRouterLink(props)
- const isDisabled = computed(() => props.disabled || hasRouterLinkParams.value)
+ const isDisabled = computed(() => props.disabled || !hasRouterLinkParams.value)
return { isDisabled, hrefComputed }
},
@@ -43,6 +43,8 @@ export default defineComponent({