scorpio 2 vuotta sitten
vanhempi
commit
8f22c699d1
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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
         }
       })