Skip to content

Commit

Permalink
fix: format的提示优化
Browse files Browse the repository at this point in the history
  • Loading branch information
greper committed Sep 10, 2020
1 parent a833815 commit eaa41fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/d2-crud-plus/src/lib/mixins/crud.js
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ export default {
}
}

if (records == null || current == null || size == null) {
if (records == null || current == null || size == null || total == null) {
console.warn('请确保format配置或ret的格式正确:', ret)
}
this.doPaginationMerge({ currentPage: current, pageSize: size, total: total })
Expand Down

0 comments on commit eaa41fd

Please sign in to comment.