[improvement] PullRerefresh: use dynamic slot (#2409)

This commit is contained in:
neverland
2018-12-30 21:42:51 +08:00
committed by GitHub
parent d0fa4152dc
commit 4572681eed
17 changed files with 34 additions and 67 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
<slot name="loading">
<loading :class="b('loading-icon')" />
<span
v-text="loadingText || $t('loadingTip')"
v-text="loadingText || $t('loading')"
:class="b('loading-text')"
/>
</slot>
@@ -9,7 +9,6 @@ exports[`renders demo correctly 1`] = `
<div class="van-pull-refresh__head">
<!---->
<!---->
<!---->
</div>
<div class="van-list">
<!---->