From 33f488de96114e9a923edcd0cc5fdd493f4f22b4 Mon Sep 17 00:00:00 2001 From: flowerField Date: Tue, 27 Apr 2021 11:18:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3LuckyExecl=E8=BD=AC=E6=8D=A2?= =?UTF-8?q?=E5=90=8E=E7=BC=96=E8=BE=91=E6=80=81=E5=AD=97=E7=AC=A6=E5=BC=80?= =?UTF-8?q?=E5=A4=B4=E7=9A=84'=E5=92=8Cnull=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/updateCell.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/updateCell.js b/src/controllers/updateCell.js index c6be717..3981266 100644 --- a/src/controllers/updateCell.js +++ b/src/controllers/updateCell.js @@ -176,7 +176,7 @@ export function luckysheetupdateCell(row_index1, col_index1, d, cover, isnotfocu else{ value = valueShowEs(row_index, col_index, d); if(cell.qp=="1"){ - value = "'" + value; + value = value ? ("" + value) : value; } } }