提交 35673b2d 编写于 作者: d-u-a's avatar d-u-a

update: <unicloud-db> 优化isEnded

上级 b808eb0d
......@@ -510,7 +510,7 @@ export default {
data,
count
} = result
this._isEnded = 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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册