Browse Source

fix: pageLoading positon

kokoroli 5 years ago
parent
commit
84fd521ee4
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/components/PageLoading/index.jsx

+ 4 - 4
src/components/PageLoading/index.jsx

@@ -16,11 +16,11 @@ export const PageLoading = {
     const style = {
       textAlign: 'center',
       background: 'rgba(0,0,0,0.6)',
-      position: 'absolute',
-      width: '100%',
-      height: '100%',
-      left: 0,
+      position: 'fixed',
       top: 0,
+      bottom: 0,
+      left: 0,
+      right: 0,
       zIndex: 1100
     }
     const spinStyle = {