Fix loading condition (fix #3940)

This commit is contained in:
the1812 2023-02-04 16:54:56 +08:00
parent ed8d16b0e8
commit b8e2d6d3ea

View File

@ -253,7 +253,7 @@ export default Vue.extend({
this.page++
const cards = await this.getCards()
this.cards.push(...cards)
this.hasMorePage = cards.length === 0 || this.cards.length < this.folder.count
this.hasMorePage = cards.length !== 0 || this.cards.length < this.folder.count
} catch (error) {
logError(error)
}