更新打印

This commit is contained in:
xianyi
2025-11-27 16:32:08 +08:00
parent 2a7cc9ae30
commit 540ef7488a
3 changed files with 131 additions and 10 deletions

View File

@@ -193,7 +193,7 @@ const UI7: React.FC = () => {
canvas.style.width = `${rect.width}px`;
canvas.style.height = `${rect.height}px`;
ctx.strokeStyle = "#000000";
ctx.lineWidth = 5;
ctx.lineWidth = 10;
ctx.lineCap = "round";
ctx.lineJoin = "round";
ctx.imageSmoothingEnabled = true;
@@ -362,6 +362,7 @@ const UI7: React.FC = () => {
throw new Error(res.Message || "提交签名失败");
}
window.electronAPI?.log("info", "[UI7] 签名提交成功");
localStorage.setItem("consentSignature", res.Data.pdf_url || "");
navigate("/UI8");
} catch (err) {
const msg = (err as Error).message || "签名提交失败,请稍后重试";