From 4df69b6d1a91a22dd58643b0c9f3566e98a71d29 Mon Sep 17 00:00:00 2001 From: "CN\\wuwx26" Date: Mon, 11 Jan 2021 14:49:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A9=BC=E5=B3=B0=E5=86=99=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/global/format.js | 1 + src/global/refresh.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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"]),