scorpio 2 년 전
부모
커밋
8f22c699d1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/home/component/pro_left.vue

+ 1 - 1
src/views/home/component/pro_left.vue

@@ -222,7 +222,7 @@ export default {
           return
         }
         this.active = index
-        if (e.target.scrollTop === 0) {
+        if (e.target && e.target.scrollTop === 0) {
           this.active = 0
         }
       })