diff --git a/src/components/breadcrumb/breadcrumb.vue b/src/components/breadcrumb/breadcrumb.vue index 15a1cf5..f9c5750 100644 --- a/src/components/breadcrumb/breadcrumb.vue +++ b/src/components/breadcrumb/breadcrumb.vue @@ -23,7 +23,9 @@ this.updateChildren(); }, updated () { - this.updateChildren(); + this.$nextTick(() => { + this.updateChildren(); + }); }, methods: { updateChildren () { diff --git a/src/locale/format.js b/src/locale/format.js index 59aba11..ecbf135 100644 --- a/src/locale/format.js +++ b/src/locale/format.js @@ -6,7 +6,7 @@ const RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g; -export default function(Vue) { +export default function() { // const { hasOwn } = Vue.util; function hasOwn (obj, key) { return Object.prototype.hasOwnProperty.call(obj, key); -- libgit2 0.21.4