mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(List): should not render loading when finished
This commit is contained in:
parent
0946dd7b49
commit
f7dea4836c
@ -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') || (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user