fix: processVariablesStr参数转string错误问题

This commit is contained in:
smallNorthLee 2025-02-25 22:44:33 +08:00
parent 303bbbdd7f
commit d7664c92cd

View File

@ -167,7 +167,7 @@ watch(
//
getApprovalDetail({
id: props.selectProcessDefinition.id,
processVariablesStr: newValue.value // GET String JSON
processVariablesStr: JSON.stringify(newValue.value) // GET String JSON
})
}
},
@ -183,7 +183,7 @@ const getApprovalDetail = async (row: any) => {
const data = await ProcessInstanceApi.getApprovalDetail({
processDefinitionId: row.id,
activityId: NodeId.START_USER_NODE_ID,
processVariablesStr: JSON.stringify(row.processVariablesStr) // GET String JSON
processVariablesStr: row.processVariablesStr // GET String JSON
})
if (!data) {