diff --git a/src/utils/assist.js b/src/utils/assist.js
index 151871c..a2d4c92 100644
--- a/src/utils/assist.js
+++ b/src/utils/assist.js
@@ -17,6 +17,7 @@ export function camelcaseToHyphen (str) {
 // For Modal scrollBar hidden
 let cached;
 export function getScrollBarSize (fresh) {
+    if (isServer) return 0;
     if (fresh || cached === undefined) {
         const inner = document.createElement('div');
         inner.style.width = '100%';
--
libgit2 0.21.4