Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
fix(update number add quote automatically): similar to excel
Browse files Browse the repository at this point in the history
  • Loading branch information
tubiaoge committed Oct 14, 2020
1 parent 760378b commit 05b01a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/controllers/updateCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

Expand Down

0 comments on commit 05b01a6

Please sign in to comment.