|
@ -121,8 +121,8 @@ function jfrefreshgrid(data, range, allParam, isRunExecFunction = true, isRefres |
|
|
editor.webWorkerFlowDataCache(Store.flowdata);//worker存数据
|
|
|
editor.webWorkerFlowDataCache(Store.flowdata);//worker存数据
|
|
|
file.data = Store.flowdata; |
|
|
file.data = Store.flowdata; |
|
|
|
|
|
|
|
|
//config
|
|
|
//config, null or empty object are not processed
|
|
|
if(cfg != null){ |
|
|
if(cfg != null && Object.keys(cfg).length !== 0){ |
|
|
Store.config = cfg; |
|
|
Store.config = cfg; |
|
|
file.config = Store.config; |
|
|
file.config = Store.config; |
|
|
|
|
|
|
|
@ -133,15 +133,15 @@ function jfrefreshgrid(data, range, allParam, isRunExecFunction = true, isRefres |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//条件格式
|
|
|
//condition format, null or empty array are not processed
|
|
|
if(cdformat != null){ |
|
|
if(cdformat != null && cdformat.length !== 0){ |
|
|
file["luckysheet_conditionformat_save"] = cdformat; |
|
|
file["luckysheet_conditionformat_save"] = cdformat; |
|
|
|
|
|
|
|
|
server.saveParam("all", Store.currentSheetIndex, cdformat, { "k": "luckysheet_conditionformat_save" }); |
|
|
server.saveParam("all", Store.currentSheetIndex, cdformat, { "k": "luckysheet_conditionformat_save" }); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//数据验证
|
|
|
//data Verification, null or empty object are not processed
|
|
|
if(dataVerification != null){ |
|
|
if(dataVerification != null && Object.keys(dataVerification).length !== 0){ |
|
|
dataVerificationCtrl.dataVerification = dataVerification; |
|
|
dataVerificationCtrl.dataVerification = dataVerification; |
|
|
file["dataVerification"] = dataVerification; |
|
|
file["dataVerification"] = dataVerification; |
|
|
server.saveParam("all", Store.currentSheetIndex, dataVerification, { "k": "dataVerification" }); |
|
|
server.saveParam("all", Store.currentSheetIndex, dataVerification, { "k": "dataVerification" }); |
|
|