diff --git a/src/views/workflow/processInstance/index.vue b/src/views/workflow/processInstance/index.vue index 95df069..65a64c4 100644 --- a/src/views/workflow/processInstance/index.vue +++ b/src/views/workflow/processInstance/index.vue @@ -455,8 +455,8 @@ const handleVariable = async (formEl: FormInstance | undefined) => { await proxy?.$modal.confirm('是否确认提交?'); await updateVariable(form.value); proxy?.$modal.msgSuccess('操作成功'); - variableVisible.value = false; - await handleQuery(); + const data = await instanceVariable(instanceId.value); + variables.value = data.data.variable; } }); };