mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(List): scoped style not applied to first child (#7202)
This commit is contained in:
parent
e026a5614d
commit
ffb01671a1
@ -121,7 +121,7 @@ export default createComponent({
|
|||||||
genLoading() {
|
genLoading() {
|
||||||
if (this.innerLoading && !this.finished) {
|
if (this.innerLoading && !this.finished) {
|
||||||
return (
|
return (
|
||||||
<div class={bem('loading')}>
|
<div key="loading" class={bem('loading')}>
|
||||||
{this.slots('loading') || (
|
{this.slots('loading') || (
|
||||||
<Loading size="16">{this.loadingText || t('loading')}</Loading>
|
<Loading size="16">{this.loadingText || t('loading')}</Loading>
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user