[baozhangchao] hace 3 años
padre
commit
eaab4e672d
Se han modificado 3 ficheros con 6 adiciones y 3 borrados
  1. 4
    2
      public/index.html
  2. 1
    0
      src/main.js
  3. 1
    1
      src/utils/initial.js

+ 4
- 2
public/index.html Ver fichero

@@ -10,11 +10,13 @@
10 10
   <script>const vConsole = new VConsole();</script> -->
11 11
   <style>
12 12
     .page-loading-wrapper {
13
+      position: absolute;
14
+      left: 0;
15
+      top: 0;
13 16
       animation: loadingrotate 3s ease-in-out 0s 1 alternate forwards;
14 17
       width: 0px;
15
-      position: relative;
16 18
       overflow: hidden;
17
-      top: 40vh;
19
+      top: 36vh;
18 20
       left: 30vw;
19 21
     }
20 22
 

+ 1
- 0
src/main.js Ver fichero

@@ -29,6 +29,7 @@ Login().then(e => {
29 29
     render: h => h(App),
30 30
   }).$mount('#app')
31 31
 }).catch(e => {
32
+
32 33
   console.error(e)
33 34
   // alert('系统错误, 请刷新重试')
34 35
 

+ 1
- 1
src/utils/initial.js Ver fichero

@@ -87,7 +87,7 @@ export function Login () {
87 87
       console.error(error)
88 88
     }
89 89
 
90
-    // hideLoading()
90
+    hideLoading()
91 91
 
92 92
     return;
93 93
   })