From 05b01a6c95a5d0736c51c5c1ca41e9eb463122d8 Mon Sep 17 00:00:00 2001 From: liuyang Date: Wed, 14 Oct 2020 11:25:54 +0800 Subject: [PATCH] fix(update number add quote automatically): similar to excel --- src/controllers/updateCell.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/controllers/updateCell.js b/src/controllers/updateCell.js index b946e3e..36f73b6 100644 --- a/src/controllers/updateCell.js +++ b/src/controllers/updateCell.js @@ -151,6 +151,9 @@ export function luckysheetupdateCell(row_index1, col_index1, d, cover, isnotfocu } else{ value = valueShowEs(row_index, col_index, d); + if(cell.qp=="1"){ + value = "'" + value; + } } }