diff --git a/src/global/api.js b/src/global/api.js index fed44c6..eebfc65 100644 --- a/src/global/api.js +++ b/src/global/api.js @@ -1244,6 +1244,7 @@ export function showRowOrColumn(type, startIndex, endIndex, options = {}) { let curSheetOrder = getSheetIndex(Store.currentSheetIndex); let { order = curSheetOrder, + saveParam = true, success } = {...options} @@ -1273,7 +1274,9 @@ export function showRowOrColumn(type, startIndex, endIndex, options = {}) { //config Store.luckysheetfile[order].config = Store.config; - server.saveParam("cg", file.index, cfg[cfgKey], { "k": cfgKey }); + if (saveParam) { + server.saveParam("cg", file.index, cfg[cfgKey], { "k": cfgKey }); + } // 若操作sheet为当前sheet页,行高、列宽 刷新 if (order === curSheetOrder) {