diff --git a/src/global/format.js b/src/global/format.js index 128388a..0123c08 100644 --- a/src/global/format.js +++ b/src/global/format.js @@ -1787,6 +1787,7 @@ export function genarate(value) {//万 单位格式增加!!! ct = { "fa": "@", "t": "s" }; } else if(isRealNum(value) && Math.abs(parseFloat(value)) > 0 && (Math.abs(parseFloat(value)) >= 1e+11 || Math.abs(parseFloat(value)) < 1e-9)){ + // 科学计数法还是保持文本格式 v = value m = value ct= {"fa": '@', "t": "n"} diff --git a/src/global/refresh.js b/src/global/refresh.js index 3ed6380..b2be6c1 100644 --- a/src/global/refresh.js +++ b/src/global/refresh.js @@ -343,7 +343,7 @@ function jfrefreshrange(data, range, cdformat) { Store.jfredo.push({ "type": "rangechange", "data": Store.flowdata, - "curdata": data, + "curData": data, "range": range, "sheetIndex": Store.currentSheetIndex, "cdformat": $.extend(true, [], Store.luckysheetfile[getSheetIndex(Store.currentSheetIndex)]["luckysheet_conditionformat_save"]),