mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 02:16:12 +08:00
fix(List): should not render loading when finished
This commit is contained in:
parent
1702fb4966
commit
756ac37e6a
@ -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