fix(List): should not render loading when finished
This commit is contained in:
+1
-1
@@ -112,7 +112,7 @@ export default createComponent({
|
|||||||
},
|
},
|
||||||
|
|
||||||
genLoading() {
|
genLoading() {
|
||||||
if (this.innerLoading) {
|
if (this.innerLoading && !this.finished) {
|
||||||
return (
|
return (
|
||||||
<div class={bem('loading')} key="loading">
|
<div class={bem('loading')} key="loading">
|
||||||
{this.slots('loading') || (
|
{this.slots('loading') || (
|
||||||
|
|||||||
Reference in New Issue
Block a user