ZaiZai 2 年之前
父節點
當前提交
c7a0d8e02e
共有 2 個文件被更改,包括 2 次插入0 次删除
  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>