mirror of
https://github.com/youzan/vant.git
synced 2026-03-03 03:00:27 +08:00
fix(List): should not render loading when finished
This commit is contained in:
@@ -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') || (
|
||||
|
||||
Reference in New Issue
Block a user