mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
parent
390473c4f6
commit
e25f98540d
@ -4,7 +4,7 @@
|
|||||||
<div v-show="loading" :class="b('loading')">
|
<div v-show="loading" :class="b('loading')">
|
||||||
<slot name="loading">
|
<slot name="loading">
|
||||||
<loading />
|
<loading />
|
||||||
<span :class="b('loading-text')">{{ $t('loadingTip') }}</span>
|
<span :class="b('loading-text')">{{ loadingText || $t('loadingTip') }}</span>
|
||||||
</slot>
|
</slot>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -32,7 +32,8 @@ export default create({
|
|||||||
offset: {
|
offset: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: 300
|
default: 300
|
||||||
}
|
},
|
||||||
|
loadingText: String
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user