scorpio hace 2 años
padre
commit
8f22c699d1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
         }
       })