This commit is contained in:
syuilo 2018-02-18 18:40:24 +09:00
parent 8b6e9050c4
commit e82864d4fc
9 changed files with 12 additions and 12 deletions

View file

@ -84,7 +84,7 @@ export default Vue.extend({
},
mounted() {
Vue.nextTick(() => {
this.$nextTick(() => {
const main = this.$refs.main as any;
main.style.top = '15%';
main.style.left = (window.innerWidth / 2) - (main.offsetWidth / 2) + 'px';