diff --git a/main.js b/main.js index e90e568..d68a0a1 100644 --- a/main.js +++ b/main.js @@ -90,9 +90,10 @@ let app = { }, 'mounted': () => { + const self = this; console.log('app mounted'); setTimeout(() => { - document.getElementById('app').setAttribute('style', ''); + self.$el.setAttribute('style', ''); }); } };