File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " miniprogram-recycle-view" ,
3- "version" : " 0.0.7 " ,
3+ "version" : " 0.0.8 " ,
44 "description" : " miniprogram custom component" ,
55 "main" : " miniprogram_dist/index.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -731,6 +731,9 @@ Component({
731731 }
732732 return indexes
733733 } ,
734+ getTotalHeight ( ) {
735+ return this . totalHeight
736+ } ,
734737 setUseInPage ( useInPage ) {
735738 this . useInPage = useInPage
736739 } ,
Original file line number Diff line number Diff line change @@ -536,4 +536,8 @@ RecycleContext.prototype.getViewportItems = function (inViewportPx) {
536536 }
537537 return viewportItems
538538}
539+ RecycleContext . prototype . getTotalHeight = function ( ) {
540+ this . checkComp ( )
541+ return this . comp . getTotalHeight ( )
542+ }
539543module . exports = RecycleContext
You can’t perform that action at this time.
0 commit comments