Commit 71b6b274b57b3f8aad2c2fcb1a440e916f26e677

Authored by Jason
1 parent ab249f70

[Fix] No seperators show if did not initialize data when using breadcrumb.

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
src/components/breadcrumb/breadcrumb.vue
@@ -22,6 +22,9 @@ @@ -22,6 +22,9 @@
22 mounted () { 22 mounted () {
23 this.updateChildren(); 23 this.updateChildren();
24 }, 24 },
  25 + updated () {
  26 + this.updateChildren();
  27 + },
25 methods: { 28 methods: {
26 updateChildren () { 29 updateChildren () {
27 this.$children.forEach((child) => { 30 this.$children.forEach((child) => {