optimize Scroll scroll behavior

This commit is contained in:
梁灏 2017-10-16 20:10:21 +08:00
parent 6850c1da89
commit 109465d3c5
2 changed files with 17 additions and 9 deletions

View file

@ -1,5 +1,5 @@
<template>
<Scroll :on-reach-edge="loadData" loading-text="L-o-a-d-i-n-g...">
<Scroll :on-reach-top="loadData" loading-text="L-o-a-d-i-n-g...">
<section v-for="item in list">
<div class="city">
<p>{{ item }}</p>