@@ -444,7 +444,7 @@ function writeSheet(pageData, sheetData, paperSize, sharedStrList, stylesObj, ap
};
let private_getSharedStrIdx = function(val) {
let strVal = val;
- if (val === null) {
+ if (val === null || val === undefined || (typeof val === 'number' && isNaN(val))) {
strVal = "";
}
let rst = sharedStrList.indexOf(strVal);