Sfoglia il codice sorgente

update 调整变量修改

may 8 mesi fa
parent
commit
d95f358d1b
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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;
     }
   });
 };