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) {
           if (-70 < stL && stL < -15 && 45 < stP && stP < 100 && type == 1) {
-            dv1.style.transition = ".5s all";
             dv1.style.left = nl + 42 + "px";
             dv1.style.left = nl + 42 + "px";
             dv1.style.top = nt - 73 + "px";
             dv1.style.top = nt - 73 + "px";
-            setTimeout(() => {
-              dv1.style.transition = "";
-            }, 500);
           }
           }
 
 
           if (-70 < stL && stL < -15 && 45 < stP && stP < 100 && type == 2) {
           if (-70 < stL && stL < -15 && 45 < stP && stP < 100 && type == 2) {
-            dv.style.transition = ".5s all";
             dv.style.left = nl - 42 + "px";
             dv.style.left = nl - 42 + "px";
             dv.style.top = nt + 73 + "px";
             dv.style.top = nt + 73 + "px";
-            setTimeout(() => {
-              dv.style.transition = "";
-            }, 500);
           }
           }
         }
         }
       },
       },