@@ -86,7 +86,7 @@ export default {
8686 const oldSize = this .vscrollData .sizes [oldValue]
8787 const size = this .vscrollData .sizes [value]
8888 if (oldSize != null && oldSize !== size) {
89- this ._applySize (oldSize)
89+ this .applySize (oldSize)
9090 }
9191 }
9292 },
@@ -192,20 +192,20 @@ export default {
192192 if (this .id === id) {
193193 const width = this .$el .offsetWidth
194194 const height = this .$el .offsetHeight
195- this .applySize (width, height)
195+ this .applyWidthHeight (width, height)
196196 }
197197 this .$_pendingSizeUpdate = null
198198 })
199199 },
200200
201- applySize (width , height ) {
201+ applyWidthHeight (width , height ) {
202202 const size = ~~ (this .vscrollParent .direction === ' vertical' ? height : width)
203203 if (size && this .size !== size) {
204- this ._applySize (size)
204+ this .applySize (size)
205205 }
206206 },
207207
208- _applySize (size ) {
208+ applySize (size ) {
209209 if (this .vscrollParent .$_undefinedMap [this .id ]) {
210210 this .vscrollParent .$_undefinedSizes --
211211 this .vscrollParent .$_undefinedMap [this .id ] = undefined
@@ -233,7 +233,7 @@ export default {
233233
234234 onResize (id , width , height ) {
235235 if (this .id === id) {
236- this .applySize (width, height)
236+ this .applyWidthHeight (width, height)
237237 }
238238 },
239239 },
0 commit comments