mirror of
https://git.unlock-music.dev/um/web.git
synced 2024-12-28 16:05:02 +08:00
update to vh
This commit is contained in:
parent
820b98afed
commit
1429c5786e
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<el-container id="app" :style="`min-height: ${heightMinContainer}px`">
|
||||
<el-container id="app">
|
||||
<el-main class="p-0">
|
||||
<Home />
|
||||
</el-main>
|
||||
@ -40,17 +40,12 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
version: config.version,
|
||||
heightMinContainer: 800
|
||||
version: config.version
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.$nextTick(() => {
|
||||
this.heightMinContainer = innerHeight
|
||||
this.finishLoad()
|
||||
window.onresize = () => {
|
||||
this.heightMinContainer = innerHeight
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
|
Loading…
Reference in New Issue
Block a user