Fix build
This commit is contained in:
@@ -24,7 +24,9 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
contentHeight() {
|
||||
return window.innerHeight - 128;
|
||||
if (process.isClient) {
|
||||
return window.innerHeight - 128;
|
||||
}
|
||||
},
|
||||
},
|
||||
components: {
|
||||
|
||||
@@ -72,7 +72,9 @@ export default {
|
||||
return "";
|
||||
},
|
||||
contentHeight() {
|
||||
return window.innerHeight - 160;
|
||||
if (process.isClient) {
|
||||
return window.innerHeight - 160;
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -135,7 +135,9 @@ export default {
|
||||
return result;
|
||||
},
|
||||
contentHeight() {
|
||||
return window.innerHeight - 128;
|
||||
if (process.isClient) {
|
||||
return window.innerHeight - 128;
|
||||
}
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
|
||||
Reference in New Issue
Block a user