From 71b6b274b57b3f8aad2c2fcb1a440e916f26e677 Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 18 Apr 2017 13:48:18 +0800 Subject: [PATCH] [Fix] No seperators show if did not initialize data when using breadcrumb. --- src/components/breadcrumb/breadcrumb.vue | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/src/components/breadcrumb/breadcrumb.vue b/src/components/breadcrumb/breadcrumb.vue index dfe622c..d3ccc8e 100644 --- a/src/components/breadcrumb/breadcrumb.vue +++ b/src/components/breadcrumb/breadcrumb.vue @@ -22,6 +22,9 @@ mounted () { this.updateChildren(); }, + updated () { + this.updateChildren(); + }, methods: { updateChildren () { this.$children.forEach((child) => { -- libgit2 0.21.4