Split Line

This commit is contained in:
naibo 2023-12-19 22:09:55 +08:00
parent ae3ae40640
commit fbdffb1eec
2 changed files with 3 additions and 3 deletions

View File

@ -55,12 +55,12 @@ function changeOutputFormat(param) {
if (len > 20000) { if (len > 20000) {
if ($("#outputFormat").val() == "xlsx") { if ($("#outputFormat").val() == "xlsx") {
$("#outputFormat").val("csv"); //如果有一个参数的示例值长度超过20000就默认输出为csv $("#outputFormat").val("csv"); //如果有一个参数的示例值长度超过20000就默认输出为csv
showInfo(LANG("单个字段示例值长度超过16000超出Excel单个单元格存储限制已自动切换保存为csv格式。", "The length of the example value of a single field exceeds 16000, which exceeds the storage limit of a single cell of Excel, and has been automatically switched to save as csv format."), 5000); showInfo(LANG("单个字段示例值长度超过16000超出Excel单个单元格存储限制已自动切换保存为csv格式,同时建议您开启换行功能。", "The length of the example value of a single field exceeds 16000, which exceeds the storage limit of a single cell of Excel, and has been automatically switched to save as csv format. It is recommended to turn on the line break function."), 10000);
} }
break; break;
} else if (len > 500) { } else if (len > 500) {
if ($("#outputFormat").val() == "xlsx") { if ($("#outputFormat").val() == "xlsx") {
showInfo(LANG("单个字段示例值长度超过300建议保存为CSV格式否则可能会出现数据存储不完整的情况Python Excel写入库openpyxl的Bug。", "The length of the example value of a single field exceeds 300, it is recommended to save as CSV format, otherwise there may be a situation where the data storage is incomplete (Bug of Python Excel write library openpyxl)."), 10000); showInfo(LANG("单个字段示例值长度超过300建议保存为CSV格式否则可能会出现数据存储不完整的情况Python Excel写入库openpyxl的Bug,长文章采集建议开启换行功能。", "The length of the example value of a single field exceeds 300, it is recommended to save as CSV format, otherwise there may be a situation where the data storage is incomplete (bug of Python openpyxl library). It's recommended to turn on the line break function for long article extraction."), 10000);
} }
break; break;
} }

File diff suppressed because one or more lines are too long