fix(List): should not render loading when finished

This commit is contained in:
陈嘉涵 2019-11-28 16:05:47 +08:00
parent 1702fb4966
commit 756ac37e6a

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') || (