|
@@ -847,7 +847,7 @@ $(document).ready(function() {
|
|
|
const style = sheet.getStyle(iRow, iCol);
|
|
|
if (!style.locked) {
|
|
|
const colSetting = sheet.zh_setting.cols[iCol];
|
|
|
- data[colSetting.field] = null;
|
|
|
+ data[colSetting.field] = colSetting.type === 'Number' ? 0 : '';
|
|
|
const exprInfo = getExprInfo(colSetting.field);
|
|
|
if (exprInfo) {
|
|
|
data[exprInfo.expr] = '';
|