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')">
|
||||
<slot name="loading">
|
||||
<loading />
|
||||
<span :class="b('loading-text')">{{ $t('loadingTip') }}</span>
|
||||
<span :class="b('loading-text')">{{ loadingText || $t('loadingTip') }}</span>
|
||||
</slot>
|
||||
</div>
|
||||
</div>
|
||||
@ -32,7 +32,8 @@ export default create({
|
||||
offset: {
|
||||
type: Number,
|
||||
default: 300
|
||||
}
|
||||
},
|
||||
loadingText: String
|
||||
},
|
||||
|
||||
mounted() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user