File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -56,20 +56,18 @@ export default {
56
56
type: Number ,
57
57
default: 100
58
58
},
59
- propstime : {
59
+ propsTime : {
60
60
type: Number ,
61
- default: 3000
61
+ default: 3000
62
62
}
63
63
},
64
64
watch: {
65
65
' isLoading ' : function (status ) {
66
66
if (! status && this .realMove === 0 ) {
67
- clearTimeout (this .outTimer );
68
- this .outTimer = setTimeout (()=> {
69
- clearTimeout (this .timer );
70
- this .setTransform (this .realMove , ' end' , 0 );
71
- },this .propstime )
72
-
67
+ clearTimeout (this .timer );
68
+ this .timer = setTimeout (() => {
69
+ this .setTransform (this .realMove , ' end' , 0 );
70
+ }, this .propsTime );
73
71
}
74
72
},
75
73
' isUnMore ' : function () {
@@ -91,8 +89,7 @@ export default {
91
89
realMove: 0 ,
92
90
isShowLoadMore: false ,
93
91
listMinHeightStyle: ' auto' ,
94
- isFirstPull: true ,
95
- outTimer: null
92
+ isFirstPull: true
96
93
}
97
94
},
98
95
You can’t perform that action at this time.
0 commit comments