zhengyiming
5 天以前 52c17cc9efa1f8d1dda29faa9e1d2de7094682ed
src/fabric-editor/hooks/context.ts
@@ -12,6 +12,7 @@
  checkTemplateParamObjectListNotNull,
  convertJsonMapToTemplateParamObjectList,
} from '../utils';
import { CanvasHeight, CanvasWidth } from '../constants';
export interface TemplateDetailContext {
  templateDetail: Ref<API.GetContractTemplateQueryResult>;
@@ -186,8 +187,8 @@
              recorder: x.recorder,
              userType: x.userType,
              bindProperty: x.bindProperty,
              x: x.left,
              y: x.top,
              x: x.left / CanvasWidth,
              y: x.top / CanvasHeight,
              page: x.pageNum + 1,
            } as API.SaveContractTemplateValuesCommandItem)
        ),