wangtao hace 2 años
padre
commit
e21be587f4
Se han modificado 2 ficheros con 10 adiciones y 6 borrados
  1. 8 5
      src/views/index.vue
  2. 2 1
      src/views/recharge/personnel/index.vue

+ 8 - 5
src/views/index.vue

@@ -487,7 +487,7 @@ export default {
       };
       statistics.setOption(option4);
       window.onresize = function() {
-
+        statistics.resize();
       };
     },
     drawLine3(){
@@ -551,7 +551,9 @@ export default {
         ]
       };
       channel.setOption(option3);
-
+      window.onresize = function() {
+        channel.resize();
+      };
     },
 
     drawLine1(){
@@ -614,6 +616,9 @@ export default {
         ]
       }
       user.setOption(option1);
+      window.onresize = function() {
+        user.resize();
+      };
     },
   }
 }
@@ -712,14 +717,12 @@ export default {
       .card2{
         height:calc(100vh - 630px);
         .contain{
-          margin: auto;
+          margin:15px auto;
           text-align: left;
-          vertical-align: middle;
           display: flex;
           .box-card{
             padding:40px 0;
             flex:2;
-            margin-top:10%;
             .left{
               width:30%;
               display: inline-block;

+ 2 - 1
src/views/recharge/personnel/index.vue

@@ -382,12 +382,13 @@ export default {
             })
             staff(this.staffList).then(response =>{
               this.loading = false;
-              this.open = false;
+              this.open1 = false;
               this.msgSuccess('批量绑定完成')
               this.getList();
               this.reset()
             }).catch(err=>{
               this.loading = false;
+              this.open1 = false;
             })
           }
         }