diff --git a/src/list/index.js b/src/list/index.js index 82f1148c1..4a6aef7a5 100644 --- a/src/list/index.js +++ b/src/list/index.js @@ -121,7 +121,7 @@ export default createComponent({ genLoading() { if (this.innerLoading && !this.finished) { return ( -
+
{this.slots('loading') || ( {this.loadingText || t('loading')} )} @@ -156,7 +156,9 @@ export default createComponent({ }, render() { - const Placeholder =
; + const Placeholder = ( +
+ ); return (