This commit is contained in:
zhaofang
2022-11-21 18:43:27 +08:00
parent 329bc70afd
commit 94c9dd9724

View File

@@ -83,7 +83,7 @@
</view>
</view>
</view>
<uni-load-more v-show="this.articleList.count>articleList.pageSize" :status="loadStatus"></uni-load-more>
<uni-load-more v-show="articleList.count>0" :status="loadStatus"></uni-load-more>
</view>
</template>
@@ -165,8 +165,8 @@ export default {
this.flagLoading = false;
uni.hideLoading();
if (rs.status == 200) {
this.articleList.count = rs.result.count;
if (rs.result.list.length != 0) {
this.articleList.count = rs.result.count;
let userIds = [];
rs.result.list.forEach(item => {
item.name=''
@@ -224,7 +224,6 @@ export default {
});
},
chooseStatus(e) {
console.log(e,'e')
if(this.flagLoading) {
return;
}