mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-14 14:48:53 +09:00
wip
This commit is contained in:
parent
205e728025
commit
00aaf300c4
@ -82,13 +82,15 @@ export default Vue.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
const main = this.$refs.main as any;
|
Vue.nextTick(() => {
|
||||||
main.style.top = '15%';
|
const main = this.$refs.main as any;
|
||||||
main.style.left = (window.innerWidth / 2) - (main.offsetWidth / 2) + 'px';
|
main.style.top = '15%';
|
||||||
|
main.style.left = (window.innerWidth / 2) - (main.offsetWidth / 2) + 'px';
|
||||||
|
|
||||||
window.addEventListener('resize', this.onBrowserResize);
|
window.addEventListener('resize', this.onBrowserResize);
|
||||||
|
|
||||||
this.open();
|
this.open();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
destroyed() {
|
destroyed() {
|
||||||
|
Loading…
Reference in New Issue
Block a user