diff --git a/dist.zip b/dist.zip deleted file mode 100644 index 96a120c..0000000 Binary files a/dist.zip and /dev/null differ diff --git a/src/controllers/handler.js b/src/controllers/handler.js index 0fb4824..1c2dd6c 100644 --- a/src/controllers/handler.js +++ b/src/controllers/handler.js @@ -4523,15 +4523,15 @@ export default function luckysheetHandler() { } value = parseInt(value); - if (value < 1 || value > 100000) { - if (isEditMode()) { - alert(locale_info.tipInputNumberLimit); - } - else { - tooltip.info("error", locale_info.tipInputNumberLimit); - } - return; - } + // if (value < 1 || value > 100000) { + // if (isEditMode()) { + // alert(locale_info.tipInputNumberLimit); + // } + // else { + // tooltip.info("error", locale_info.tipInputNumberLimit); + // } + // return; + // } luckysheetextendtable("row", Store.flowdata.length - 1, value); }); diff --git a/src/controllers/rowColumnOperation.js b/src/controllers/rowColumnOperation.js index 60a657c..ad2e325 100644 --- a/src/controllers/rowColumnOperation.js +++ b/src/controllers/rowColumnOperation.js @@ -1114,15 +1114,15 @@ export function rowColumnOperationInitial(){ value = parseInt(value); - if (value < 1 || value > 100000) { - if(isEditMode()){ - alert(locale_info.tipInputNumberLimit); - } - else{ - tooltip.info(locale_info.tipInputNumberLimit, ""); - } - return; - } + // if (value < 1 || value > 100000) { + // if(isEditMode()){ + // alert(locale_info.tipInputNumberLimit); + // } + // else{ + // tooltip.info(locale_info.tipInputNumberLimit, ""); + // } + // return; + // } let st_index = Store.luckysheet_select_save[0][Store.luckysheetRightHeadClickIs][0]; if(!method.createHookFunction("rowInsertBefore", st_index, value, "lefttop")){ diff --git a/src/global/api.js b/src/global/api.js index 9ae6a5e..3acbafd 100644 --- a/src/global/api.js +++ b/src/global/api.js @@ -1096,14 +1096,14 @@ export function insertRowOrColumn(type, index = 0, options = {}) { } number = parseInt(number); - if (number < 1 || number > 100000) { - if(isEditMode()){ - alert(locale_info.tipInputNumberLimit); - } else{ - tooltip.info(locale_info.tipInputNumberLimit, ""); - } - return; - } + // if (number < 1 || number > 100000) { + // if(isEditMode()){ + // alert(locale_info.tipInputNumberLimit); + // } else{ + // tooltip.info(locale_info.tipInputNumberLimit, ""); + // } + // return; + // } // 默认在行上方增加行,列左侧增加列 let sheetIndex; @@ -1152,14 +1152,14 @@ export function insertRowBottomOrColumnRight(type, index = 0, options = {}) { } number = parseInt(number); - if (number < 1 || number > 100000) { - if(isEditMode()){ - alert(locale_info.tipInputNumberLimit); - } else{ - tooltip.info(locale_info.tipInputNumberLimit, ""); - } - return; - } + // if (number < 1 || number > 100000) { + // if(isEditMode()){ + // alert(locale_info.tipInputNumberLimit); + // } else{ + // tooltip.info(locale_info.tipInputNumberLimit, ""); + // } + // return; + // } // 默认在行上方增加行,列左侧增加列 let sheetIndex;