ZaiZai 2 years ago
parent
commit
c7a0d8e02e
2 changed files with 2 additions and 0 deletions
  1. 1 0
      components/hc-image/index.vue
  2. 1 0
      components/hc-img/index.vue

+ 1 - 0
components/hc-image/index.vue

@@ -52,6 +52,7 @@ const imgLoad = () => {
         position: absolute;
         width: 0;
         height: 0;
+        will-change: transform
     }
 }
 </style>

+ 1 - 0
components/hc-img/index.vue

@@ -70,6 +70,7 @@ const imgLoad = () => {
         position: absolute;
         width: 0;
         height: 0;
+        will-change: transform
     }
 }
 </style>