File tree Expand file tree Collapse file tree 2 files changed +1938
-1938
lines changed
Expand file tree Collapse file tree 2 files changed +1938
-1938
lines changed Original file line number Diff line number Diff line change 22 <div
33 class =" list-view"
44 ref =" list" >
5- <vue-scroll
5+ <vuescroll
66 :ops =" ops"
77 @handle-scroll =" handleScroll" >
88 <list-body
2424 </div >
2525 </div >
2626 </list-body >
27- </vue-scroll >
27+ </vuescroll >
2828 </div >
2929</template >
3030<script >
3131import listBody from ' ./body.vue' ;
32- const vueScroll = require ( ' ./ vuescroll/vuescroll-native.js ' ) ;
32+ import vuescroll from ' vuescroll/dist/ vuescroll-native' ;
3333export default {
3434 components: {
35- vueScroll ,
35+ vuescroll ,
3636 listBody,
3737 },
3838 props: {
@@ -77,7 +77,7 @@ export default {
7777 },
7878 methods: {
7979 handleScroll (v , h ) {
80- this .$emit (' on-scroll' , {v, h});
80+ this .$emit (' on-scroll' , { v, h });
8181 this .$refs .body .handleScroll (v, h);
8282 },
8383 columnItemClick (index ) {
You can’t perform that action at this time.
0 commit comments