changed init to use $el

This commit is contained in:
klemek
2019-12-06 18:43:16 +01:00
parent db4cc95b38
commit f62be5b3ec
+2 -1
View File
@@ -90,9 +90,10 @@ let app = {
},
'mounted': () => {
const self = this;
console.log('app mounted');
setTimeout(() => {
document.getElementById('app').setAttribute('style', '');
self.$el.setAttribute('style', '');
});
}
};