update at 2026-02-14 10:17:02

This commit is contained in:
douboer@gmail.com
2026-02-14 10:17:02 +08:00
parent 8e9dfb0396
commit 2cf67e31ea
2 changed files with 74 additions and 9 deletions

View File

@@ -275,7 +275,7 @@ function buildColumnRenderRows(headers, sourceDataColumn, sourceDescMap, targetD
function toFriendlyParseError(error, fallbackMessage) {
const message = error && error.message ? String(error.message) : '';
if (message.indexOf('xlsx 解析') >= 0) {
return '当前环境未启用 xlsx 解析,请先在开发者工具执行“构建 npm”';
return message || '当前环境未启用 xlsx 解析,请先在开发者工具执行“构建 npm”';
}
return message || fallbackMessage;
}