From f12521bec2f382fd3438b022e89e60af31c6b543 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 21 十月 2025 10:27:05 +0800
Subject: [PATCH] fix: saveContractTemplateValues
---
src/fabric-editor/hooks/context.ts | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/fabric-editor/hooks/context.ts b/src/fabric-editor/hooks/context.ts
index 6406b85..79b9f26 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
);
@@ -184,6 +185,10 @@
type: x.templateParamType,
recorder: x.recorder,
userType: x.userType,
+ bindProperty: x.bindProperty,
+ x: x.left,
+ y: x.top,
+ pagey: x.pageNum + 1,
} as API.SaveContractTemplateValuesCommandItem)
),
templateJsonData: JSON.stringify(templateEditState.jsonMap),
--
Gitblit v1.9.1