Skip to content

Commit

Permalink
fix: 全量数据size
Browse files Browse the repository at this point in the history
  • Loading branch information
YufJi committed Nov 13, 2023
1 parent 94d9399 commit 2a14ee9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/utils/DataSource/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,11 +486,13 @@ const VueDataSource = Vue.extend({
return tree;
},
loadAll() {
const size = 10000;

const paging = {
offset: 0,
limit: 10000,
limit: size,
number: 1,
size: 10000,
size,
};

const params = {
Expand All @@ -504,7 +506,7 @@ const VueDataSource = Vue.extend({
if (params.paging) {
params.page = 1;
params.start = 0;
params.size = Infinity;
params.size = size;
}

const extraParams = this._getExtraParams();
Expand Down

0 comments on commit 2a14ee9

Please sign in to comment.