From 932e8215563248f97547ad21a429ef3f8ed0682b Mon Sep 17 00:00:00 2001 From: wpxp123456 <2677556700@qq.com> Date: Thu, 7 Jan 2021 15:08:52 +0800 Subject: [PATCH] fix(bug): bug bug fix #423, fix #424 --- src/core.js | 2 ++ src/global/api.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core.js b/src/core.js index 013ce6b..e912cc2 100644 --- a/src/core.js +++ b/src/core.js @@ -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 diff --git a/src/global/api.js b/src/global/api.js index d146c8e..97c5f0c 100644 --- a/src/global/api.js +++ b/src/global/api.js @@ -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;