From fc9e7f63430d4e113a333cd76101a30c7ec0e5f0 Mon Sep 17 00:00:00 2001 From: handongxun Date: Fri, 23 Jul 2021 20:57:50 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=20=E4=BC=98=E5=8C=96isE?= =?UTF-8?q?nded?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/uni-cli-shared/components/unicloud-db.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/uni-cli-shared/components/unicloud-db.vue b/packages/uni-cli-shared/components/unicloud-db.vue index 800977f4a..1058d2272 100644 --- a/packages/uni-cli-shared/components/unicloud-db.vue +++ b/packages/uni-cli-shared/components/unicloud-db.vue @@ -510,7 +510,7 @@ export default { data, count } = result - this._isEnded = count != undefined ? (this.paginationInternal.current * this.paginationInternal.size >= count) : (data.length < this.pageSize) + this._isEnded = count !== undefined ? (this.paginationInternal.current * this.paginationInternal.size >= count) : (data.length < this.pageSize) this.hasMore = !this._isEnded const data2 = this.getone ? (data.length ? data[0] : undefined) : data -- GitLab