fix(List): should not render loading when finished

This commit is contained in:
陈嘉涵 2019-11-28 16:05:47 +08:00
parent 0946dd7b49
commit f7dea4836c

View File

@ -112,7 +112,7 @@ export default createComponent({
},
genLoading() {
if (this.innerLoading) {
if (this.innerLoading && !this.finished) {
return (
<div class={bem('loading')} key="loading">
{this.slots('loading') || (