parent
a5594091a0
commit
6d89ed9619
2 changed files with 4 additions and 2 deletions
|
@ -23,7 +23,9 @@
|
||||||
this.updateChildren();
|
this.updateChildren();
|
||||||
},
|
},
|
||||||
updated () {
|
updated () {
|
||||||
this.updateChildren();
|
this.$nextTick(() => {
|
||||||
|
this.updateChildren();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
updateChildren () {
|
updateChildren () {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
const RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
const RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
||||||
|
|
||||||
export default function(Vue) {
|
export default function() {
|
||||||
// const { hasOwn } = Vue.util;
|
// const { hasOwn } = Vue.util;
|
||||||
function hasOwn (obj, key) {
|
function hasOwn (obj, key) {
|
||||||
return Object.prototype.hasOwnProperty.call(obj, key);
|
return Object.prototype.hasOwnProperty.call(obj, key);
|
||||||
|
|
Loading…
Add table
Reference in a new issue