fix: 前端int类型导致精度丢失

pull/586/head
LesanOuO 2024-11-16 17:58:34 +08:00
parent da0a780163
commit 6ac0ee5844
1 changed files with 3 additions and 3 deletions

View File

@ -268,9 +268,9 @@ const bpmnInstances = () => (window as any)?.bpmnInstances
const resetFormList = () => { const resetFormList = () => {
bpmnELement.value = bpmnInstances().bpmnElement bpmnELement.value = bpmnInstances().bpmnElement
formKey.value = bpmnELement.value.businessObject.formKey formKey.value = bpmnELement.value.businessObject.formKey
if (formKey.value?.length > 0) { // if (formKey.value?.length > 0) {
formKey.value = parseInt(formKey.value) // formKey.value = parseInt(formKey.value)
} // }
// //
elExtensionElements.value = elExtensionElements.value =
bpmnELement.value.businessObject.get('extensionElements') || bpmnELement.value.businessObject.get('extensionElements') ||