changed init to use $el
This commit is contained in:
@@ -90,9 +90,10 @@ let app = {
|
|||||||
|
|
||||||
},
|
},
|
||||||
'mounted': () => {
|
'mounted': () => {
|
||||||
|
const self = this;
|
||||||
console.log('app mounted');
|
console.log('app mounted');
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
document.getElementById('app').setAttribute('style', '');
|
self.$el.setAttribute('style', '');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user