@@ -86,7 +86,7 @@ export default {
86
86
const oldSize = this .vscrollData .sizes [oldValue]
87
87
const size = this .vscrollData .sizes [value]
88
88
if (oldSize != null && oldSize !== size) {
89
- this ._applySize (oldSize)
89
+ this .applySize (oldSize)
90
90
}
91
91
}
92
92
},
@@ -192,20 +192,20 @@ export default {
192
192
if (this .id === id) {
193
193
const width = this .$el .offsetWidth
194
194
const height = this .$el .offsetHeight
195
- this .applySize (width, height)
195
+ this .applyWidthHeight (width, height)
196
196
}
197
197
this .$_pendingSizeUpdate = null
198
198
})
199
199
},
200
200
201
- applySize (width , height ) {
201
+ applyWidthHeight (width , height ) {
202
202
const size = ~~ (this .vscrollParent .direction === ' vertical' ? height : width)
203
203
if (size && this .size !== size) {
204
- this ._applySize (size)
204
+ this .applySize (size)
205
205
}
206
206
},
207
207
208
- _applySize (size ) {
208
+ applySize (size ) {
209
209
if (this .vscrollParent .$_undefinedMap [this .id ]) {
210
210
this .vscrollParent .$_undefinedSizes --
211
211
this .vscrollParent .$_undefinedMap [this .id ] = undefined
@@ -233,7 +233,7 @@ export default {
233
233
234
234
onResize (id , width , height ) {
235
235
if (this .id === id) {
236
- this .applySize (width, height)
236
+ this .applyWidthHeight (width, height)
237
237
}
238
238
},
239
239
},
0 commit comments