Explorar el Código

update 调整变量修改

may hace 8 meses
padre
commit
d95f358d1b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/views/workflow/processInstance/index.vue

+ 2 - 2
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;
     }
   });
 };