diff --git a/packages/taro-components/virtual-list/vue/index.js b/packages/taro-components/virtual-list/vue/index.js index d44e1793f184..2659d111d2b8 100644 --- a/packages/taro-components/virtual-list/vue/index.js +++ b/packages/taro-components/virtual-list/vue/index.js @@ -442,9 +442,10 @@ function createListComponent ({ this.$props, this._instanceProps() ) - + + const scrollViewName = process.env.TARO_ENV === 'h5' ? 'taro-scroll-view' : 'scroll-view' return h( - 'scroll-view', + scrollViewName, { class: wclass, ref: this._outerRefSetter,