lsc 3 年之前
父节点
当前提交
51aa24694f
共有 1 个文件被更改,包括 0 次插入8 次删除
  1. 0 8
      src/components/police.vue

+ 0 - 8
src/components/police.vue

@@ -349,21 +349,13 @@ export default {
           }
 
           if (-70 < stL && stL < -15 && 45 < stP && stP < 100 && type == 1) {
-            dv1.style.transition = ".5s all";
             dv1.style.left = nl + 42 + "px";
             dv1.style.top = nt - 73 + "px";
-            setTimeout(() => {
-              dv1.style.transition = "";
-            }, 500);
           }
 
           if (-70 < stL && stL < -15 && 45 < stP && stP < 100 && type == 2) {
-            dv.style.transition = ".5s all";
             dv.style.left = nl - 42 + "px";
             dv.style.top = nt + 73 + "px";
-            setTimeout(() => {
-              dv.style.transition = "";
-            }, 500);
           }
         }
       },