Fix build

This commit is contained in:
samaradel
2020-11-23 10:40:26 +02:00
parent b4e92d33a5
commit 1f238899f0
3 changed files with 9 additions and 3 deletions

View File

@@ -24,7 +24,9 @@ export default {
}, },
computed: { computed: {
contentHeight() { contentHeight() {
if (process.isClient) {
return window.innerHeight - 128; return window.innerHeight - 128;
}
}, },
}, },
components: { components: {

View File

@@ -72,7 +72,9 @@ export default {
return ""; return "";
}, },
contentHeight() { contentHeight() {
if (process.isClient) {
return window.innerHeight - 160; return window.innerHeight - 160;
}
}, },
}, },
}; };

View File

@@ -135,7 +135,9 @@ export default {
return result; return result;
}, },
contentHeight() { contentHeight() {
if (process.isClient) {
return window.innerHeight - 128; return window.innerHeight - 128;
}
}, },
}, },
mounted() { mounted() {