From cb530d0be7fed472d3ec97dc8e8494f69ad1921c Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 21 十月 2025 10:28:21 +0800
Subject: [PATCH] fix: saveContractTemplateValues
---
src/fabric-editor/hooks/context.ts | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/fabric-editor/hooks/context.ts b/src/fabric-editor/hooks/context.ts
index b989b5e..9909450 100644
--- a/src/fabric-editor/hooks/context.ts
+++ b/src/fabric-editor/hooks/context.ts
@@ -166,6 +166,7 @@
async function saveCustomerTemplateParam() {
try {
+ console.log('templateEditState: ', templateEditState);
const templateParamObjectList = convertJsonMapToTemplateParamObjectList(
templateEditState.jsonMap
);
@@ -185,6 +186,9 @@
recorder: x.recorder,
userType: x.userType,
bindProperty: x.bindProperty,
+ x: x.left,
+ y: x.top,
+ page: x.pageNum + 1,
} as API.SaveContractTemplateValuesCommandItem)
),
templateJsonData: JSON.stringify(templateEditState.jsonMap),
--
Gitblit v1.9.1