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