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

Commit

Permalink
fix(my english is pool): fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tubiaoge committed Aug 12, 2020
1 parent 4dd82ad commit 26ff1fd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ export default {
fireMousedown: null, //单元格数据下钻
lang: 'en', //language
plugins: [], //plugins, e.g. ['chart']
forceCaculation:false,//强制刷新公式,公式较多会有性能问题,慎用
forceCalculation:false,//强制刷新公式,公式较多会有性能问题,慎用
}
2 changes: 1 addition & 1 deletion src/controllers/luckysheetConfigsetting.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const luckysheetConfigsetting = {
beforeCreateDom: null,
fireMousedown: null,
plugins:[],
forceCaculation:false,//强制刷新公式,公式较多会有性能问题,慎用
forceCalculation:false,//强制刷新公式,公式较多会有性能问题,慎用
}

export default luckysheetConfigsetting;
6 changes: 3 additions & 3 deletions src/controllers/sheetmanage.js
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ const sheetmanage = {
_this.restoreselect();
_this.CacheNotLoadControll = [];
_this.restoreCache();
formula.execFunctionGroupForce(luckysheetConfigsetting.forceCaculation);
formula.execFunctionGroupForce(luckysheetConfigsetting.forceCalculation);
_this.restoreSheetAll(Store.currentSheetIndex);

// luckysheetrefreshgrid(0, 0);
Expand Down Expand Up @@ -901,7 +901,7 @@ const sheetmanage = {

setTimeout(function () {
_this.restoreCache();
formula.execFunctionGroupForce(luckysheetConfigsetting.forceCaculation);
formula.execFunctionGroupForce(luckysheetConfigsetting.forceCalculation);
_this.restoreSheetAll(Store.currentSheetIndex);
luckysheetrefreshgrid();
}, 1);
Expand Down Expand Up @@ -944,7 +944,7 @@ const sheetmanage = {

setTimeout(function () {
_this.restoreCache();
formula.execFunctionGroupForce(luckysheetConfigsetting.forceCaculation);
formula.execFunctionGroupForce(luckysheetConfigsetting.forceCalculation);
_this.restoreSheetAll(Store.currentSheetIndex);
luckysheetrefreshgrid();
}, 1);
Expand Down
2 changes: 1 addition & 1 deletion src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ luckysheet.create = function (setting) {
luckysheetConfigsetting.beforeCreateDom = extendsetting.beforeCreateDom;

luckysheetConfigsetting.fireMousedown = extendsetting.fireMousedown;
luckysheetConfigsetting.forceCaculation = extendsetting.forceCaculation;
luckysheetConfigsetting.forceCalculation = extendsetting.forceCalculation;
luckysheetConfigsetting.plugins = extendsetting.plugins;

// Register plugins
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
container: 'luckysheet',
lang: 'en',
allowEdit:true,
forceCaculation:false,
forceCalculation:false,
plugins: ['chart'],
data: [sheetCell,sheetFormula,sheetConditionFormat,sheetTable,sheetSparkline,sheetComment,sheetPivotTableData,sheetPivotTable,sheetChart]
})
Expand Down

0 comments on commit 26ff1fd

Please sign in to comment.