scorpio 2 năm trước cách đây
mục cha
commit
8f22c699d1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
         }
       })