mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 01:17:15 +00:00
[Improvement] Button: optimize loading (#1756)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
</demo-block>
|
||||
|
||||
<demo-block :title="$t('title2')">
|
||||
<van-tabs sticky @scroll="subscribeSticky">
|
||||
<van-tabs @scroll="onScroll">
|
||||
<van-tab v-for="index in 8" :title="$t('tab') + index" :key="index">
|
||||
{{ $t('content') }} {{ index }}
|
||||
</van-tab>
|
||||
@@ -113,7 +113,7 @@ export default {
|
||||
this.$toast(title);
|
||||
},
|
||||
|
||||
subscribeSticky(e) {
|
||||
onScroll(e) {
|
||||
console.log(e);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user