Commit 6ec88aa0 authored by alwayOnlie's avatar alwayOnlie

修改选中问题

parent c4b08d4c
......@@ -51,7 +51,7 @@ const ContractText = (props: any) => {
currentRef.current = {
get: () => new Promise((resolve: any) => {
let contractText = {
id: Templatel.id ? Templatel.id : 0,
id: Templatel.T_emplateId ? Templatel.T_emplateId : 0,
templateId: Templatel.templateId ? Templatel.templateId : Templatel.id,
isUseElectronicContract: checkNick ? 1 : 0,
contractName: Templatel.name,
......@@ -69,7 +69,7 @@ const ContractText = (props: any) => {
ctText.name = ctText.contractName;
ctText.T_emplateId = ctText.id;
ctText.id = ctText.templateId;
setCheckNick(ctText.isUseElectronicContract ? true : false)
setTemplatel(ctText)
console.log(ctText, 1313131)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment