Skip to content

Commit 4078b3f

Browse files
committed
docs: add note about using original uncompressed images in export/import
1 parent d78eb01 commit 4078b3f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

static/html_export.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ class RoadbookHtmlExporter {
10451045
<div style="font-size: 12px; color: ${exportTheme.textSecondary}; line-height: 1.6; word-break: break-all;">
10461046
<div>Powered by GitHub: ${githubRepoUrl}</div>
10471047
${exportPageUrl ? `<div>Export by: ${escapeHtml(exportPageUrl)}</div>` : ''}
1048-
<div style="margin-top: 6px;">提示:此图片可直接导入到原网页中继续编辑</div>
1048+
<div style="margin-top: 6px;">提示:此图片可直接导入到原网页中继续编辑(请使用未压缩的原图)</div>
10491049
</div>
10501050
</div>
10511051
`;
@@ -1705,9 +1705,9 @@ class RoadbookHtmlExporter {
17051705
} catch (error) {
17061706
console.error('解析图片内置数据失败:', error);
17071707
if (typeof Swal !== 'undefined') {
1708-
Swal.fire('错误', '图片中的数据格式错误,可能是图片被压缩导致数据丢失。', 'error');
1708+
Swal.fire('错误', '图片中的数据格式错误,可能是图片被压缩导致数据丢失(请务必使用原图)。', 'error');
17091709
} else {
1710-
alert('错误: 图片中的数据格式错误,可能是图片被压缩导致数据丢失。');
1710+
alert('错误: 图片中的数据格式错误,可能是图片被压缩导致数据丢失(请务必使用原图)。');
17111711
}
17121712
}
17131713
};

0 commit comments

Comments
 (0)