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