We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a93b1ff commit f6f227fCopy full SHA for f6f227f
src/components/index-list/index-list.vue
@@ -3,7 +3,7 @@
3
<cube-scroll
4
ref="indexList"
5
:listen-scroll="listenScroll"
6
- :probe-type="probeType"
+ :options="options"
7
:data="data"
8
@scroll="scroll">
9
<div class="cube-index-list-content" ref="content">
@@ -72,11 +72,13 @@
72
return {
73
currentIndex: 0,
74
scrollY: -1,
75
- diff: -1
+ diff: -1,
76
+ options: {
77
+ probeType: 3
78
+ }
79
}
80
},
81
created() {
- this.probeType = 3
82
this.listenScroll = true
83
this.listHeight = []
84
this.touch = {}
src/components/scroll/scroll.vue
@@ -59,6 +59,7 @@
59
const EVENT_PULLING_UP = 'pulling-up'
60
61
const DEFAULT_OPTIONS = {
62
+ observeDOM: true,
63
click: true,
64
probeType: 1,
65
scrollbar: false,
0 commit comments