正在显示
3 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -89,7 +89,7 @@ | @@ -89,7 +89,7 @@ | ||
| 89 | this.getData() | 89 | this.getData() |
| 90 | }, | 90 | }, |
| 91 | getData() { | 91 | getData() { |
| 92 | - if(this.status === 'loading') return; | 92 | + if(this.status === 'loading' || this.status === 'nomore') return; |
| 93 | this.status = 'loading'; | 93 | this.status = 'loading'; |
| 94 | uni.showLoading({ | 94 | uni.showLoading({ |
| 95 | title: '加载中', | 95 | title: '加载中', |
| @@ -80,7 +80,7 @@ | @@ -80,7 +80,7 @@ | ||
| 80 | this.getData() | 80 | this.getData() |
| 81 | }, | 81 | }, |
| 82 | getData() { | 82 | getData() { |
| 83 | - if(this.status === 'loading') return; | 83 | + if(this.status === 'loading' || this.status === 'nomore') return; |
| 84 | this.status = 'loading'; | 84 | this.status = 'loading'; |
| 85 | uni.showLoading({ | 85 | uni.showLoading({ |
| 86 | title: '加载中', | 86 | title: '加载中', |
| @@ -71,7 +71,7 @@ | @@ -71,7 +71,7 @@ | ||
| 71 | this.getData() | 71 | this.getData() |
| 72 | }, | 72 | }, |
| 73 | getData() { | 73 | getData() { |
| 74 | - if(this.status === 'loading') return; | 74 | + if(this.status === 'loading' || this.status === 'nomore') return; |
| 75 | this.status = 'loading'; | 75 | this.status = 'loading'; |
| 76 | uni.showLoading({ | 76 | uni.showLoading({ |
| 77 | title: '加载中', | 77 | title: '加载中', |
-
请 注册 或 登录 后发表评论