Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
fix(bug): bug
Browse files Browse the repository at this point in the history
bug

fix #423, fix #424
  • Loading branch information
wpxp123456 committed Jan 7, 2021
1 parent 0f58a27 commit 932e821
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ luckysheet.create = function (setting) {

luckysheetConfigsetting.pager = extendsetting.pager;

luckysheetConfigsetting.initShowsheetbarConfig = false;

if (Store.lang === 'zh') flatpickr.localize(Mandarin.zh);

// Store the currently used plugins for monitoring asynchronous loading
Expand Down
2 changes: 1 addition & 1 deletion src/global/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -2340,7 +2340,7 @@ export function getRangeJson(isFirstRowTitle, options = {}) {
return;
}
}
let getdata = getdatabyselection(range, order);
let getdata = getdatabyselection(range, file.index);
let arr = [];
if (getdata.length === 0) {
return;
Expand Down

0 comments on commit 932e821

Please sign in to comment.