lxf 1 năm trước cách đây
mục cha
commit
7430ca2739
1 tập tin đã thay đổi với 8 bổ sung8 xóa
  1. 8 8
      src/views/process/processApproval/index.vue

+ 8 - 8
src/views/process/processApproval/index.vue

@@ -348,16 +348,16 @@ const handleSubmit = async (_type) => {
                 flowId: route.query.id,
               })
               .then((res) => {
+                if (_type && _type == 1) {
+                  proxy
+                    .post("/flowExample/setStartData", {
+                      exampleId: route.query.id,
+                      startData: data,
+                    })
+                    .then();
+                }
                 handleResult(res);
               });
-            if (_type && _type == 1) {
-              proxy
-                .post("/flowExample/setStartData", {
-                  exampleId: route.query.id,
-                  startData: data,
-                })
-                .then();
-            }
             return;
           } else {
             proxy