feat(前端界面): 优化批量转换精度显示
build.yaml / build (push) Successful in 41s

This commit is contained in:
xiaoqidun committed 2026-09-29 16:10:53 +08:00
1 parent 9d212b6fd0
commit 870c29a83f
1 file changed
+3 -1
+3 -1
View File
@@ -4856,7 +4856,9 @@ function updateBatchControls() {
function batchUsesDPI(item) {
const format = item?.format || batchElements.Format.value;
return Boolean(batch.formats.find(value => value.value === format)?.raster || item && /\.pdf$/i.test(item.file.name));
if (batch.formats.find(value => value.value === format)?.raster) return true;
return Boolean(item && /\.pdf$/i.test(item.file.name) && format !== "txt"
&& (format !== "pdf" || item.pages.trim()));
}
function batchStatus(item, status, text) {