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

This commit is contained in:
Jason 2017-04-18 13:48:18 +08:00
parent ab249f7059
commit 71b6b274b5

View file

@ -22,6 +22,9 @@
mounted () { mounted () {
this.updateChildren(); this.updateChildren();
}, },
updated () {
this.updateChildren();
},
methods: { methods: {
updateChildren () { updateChildren () {
this.$children.forEach((child) => { this.$children.forEach((child) => {